Client script for this.

User267
Tera Contributor

Need client script for this:

 

Start date- today's or any date

 

End date- it should be within 60 days from start date. Or else error should get displayed. In servicenow

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi @User267,

 

I would suggests to use UI policies instead of Client scripts for date field validations.

Refer great article written by Mark: No Code date validations through (Catalog) UI Policies 

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

Ankur Bawiskar
Tera Patron
Tera Patron

@User267 

you can easily achieve using UI policy.

Why to use client script?

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader