- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:32 PM
Hi All,
I have a date field on a form . When user select past date other than current date or upcoming date , the date field shouldn't take the value and will show a error message that "The due date should be current or future date". Can we do it both on both UI side and server side ?
Thank You
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:56 PM
yes both is possible i.e. client and server
1) UI policy - no code
No Code date validations through (Catalog) UI Policies
OR
2) before insert/update business rule with no script
Something like this
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:34 PM
Hi @1_DipikaD
You can use the UI policy , and
https://www.servicenow.com/community/developer-forum/past-date-alert-ui-policy/m-p/1401237
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:56 PM
yes both is possible i.e. client and server
1) UI policy - no code
No Code date validations through (Catalog) UI Policies
OR
2) before insert/update business rule with no script
Something like this
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2025 03:56 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.