- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 12:26 AM
On Change form, do the following date Validations:
-> Planned start date -> should be in future and before the planned end date.
For example , if the planned start date is filled in after the planned end date , it should consider the value of planned end date and validate if it is in future as well as before the Planned end date.
-> Planned End Date -> should be in after the Planned start date and in future(CHANGE_REQUEST) –>>SCHEDULE->>Start Date & End Date
In case , these conditions are not met , clear the dates and display a field message with appropriate information.
How can we achieve this...by using client script
Any help is appreciated, Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 01:12 AM
Hi @purnendu
90% of your requirements have already been met by the OOB client scripts. You need to create two new UI policies to check if the dates are in the future.
OOB Client scripts:
Add the below highlighted line in the above client scripts to clear the field value.
UI policies:
Create a similar UI policy for Planned end date.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 01:12 AM
Hi @purnendu
90% of your requirements have already been met by the OOB client scripts. You need to create two new UI policies to check if the dates are in the future.
OOB Client scripts:
Add the below highlighted line in the above client scripts to clear the field value.
UI policies:
Create a similar UI policy for Planned end date.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 02:56 AM
@J Siva Ty Brother.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 02:57 AM
No problem