- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 07:49 AM
Hi Community,
in change form we have planned start date and to validate date is not selected in past. For that i created client script
using g_form.getValue('start_date') but is user select 1 aug as start date, output which i get is 08 Jan.
Due to this i am facing issue.
Please let me know how to resolve this issue.
Regards
Pramod Pandey
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 08:05 AM - edited 07-25-2024 08:06 AM
You can simply achieve this with a UI policy with no-code
Take a look at below article
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 08:05 AM - edited 07-25-2024 08:06 AM
You can simply achieve this with a UI policy with no-code
Take a look at below article
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 08:15 AM
Hi @Pramod Pandey2,
Try to use the date format and change it from DD-MM-YYYY to MM-DD-YYYY.
Mark the response correct and helpful if the answer assisted your question.