- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 11:37 PM
When you select Planned Start Date on change form, validate if Planned Start Date is after 10 days of current date. If not display an error message below the field and clear the value selected.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 05:14 AM
Server side aswell you can do that without even script.
Create a Before Insert Business rule on change request table as below
Condition :
And in Actions Tab, you can set as below
Mark as correct and helpful if it solved your query.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 11:43 PM
Hi Nikita,
Found one thread which might help you,
Please let me know if you need any other help
Thanks,
Valmik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 11:45 PM
Hi
You can do it easily with an UI policy as below
Condition :
And in script tab, In execute if true :
function onCondition() {
g_form.clearValue('planned_start_date');
g_form.showFieldMsg('planned_start_date',"Cannot be after 10 days",'error');
}
Mark as correct and helpful if it solved your query.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 12:03 AM
but using sever side scripting how can i do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 12:03 AM
but using sever side scripting how can i do that.