Discussion

4
Replies
434
Views
HimanshuG7345 Member since 2014 3 posts
CVS Caremark
Posted: 5 years ago
Last activity: 5 years 4 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn