Require client script for date
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 06:44 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 06:51 AM
Hello @User267
You can write a Catalog Client Script for this :-
function onSubmit(){
var sdt = g_form.getValue('start_Date');
var date = g_form.getValue('end_Date');
if(GlideDate.subtract(date,sdt) > 60){
g_form.addInfoMsg("Your msg");
return false;
}
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 06:58 AM - edited 08-09-2023 07:03 AM