Discussion

4
Replies
440
Views
Himanshu Gupta (HimanshuG7345)
CVS Caremark

CVS Caremark
IN
HimanshuG7345 Member since 2014 3 posts
CVS Caremark
Posted: May 27, 2015
Last activity: June 10, 2015
Posted: 27 May 2015 10:47 EDT
Last activity: 10 Jun 2015 14:46 EDT
Closed

Clientside jaascript code to mark an input field with red cross sign and show error message

Hi All,

I want to write a Javascript function to validate for a date type input field.Whenever validation fails, the field on UI should be marked with red cross sign and error message should be displayed very similar to other default client side validation.I dont want to write an edit validate rule.

Requirement: I have a date field on UI.Whenver user changes this date then i need to comapre the same with another date present on pyWorkPage and if changed date is greater then i need to mark this date as invalid and show the error message to the user.

User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.