Client script for User must select date within 60 days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 11:45 PM
I have two fields start date and end date.
Start date can be anything, but end should be below 60 days from start date, if the user selects after 60 days then it should populate an error.
For example:
start date-9/8/2023
End date-within 60 days from above date, if user selects after 60 days it should display error.
Require client script for this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 12:22 AM - edited ‎08-09-2023 12:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 12:24 AM
Hi please refer below link
https://www.servicenow.com/community/developer-articles/date-validations-client-scripts/ta-p/2298860