End date Validation in catalog item form

ashok17
Tera Contributor

Hi All,

 

Please help me below requirement:

 

In the catalog item there are two fields for date:

 

State date and End date

The requirement was user can't choose End date filed more than one year from start date.

 

Please help me how we will write client script for this requirement.

 

Thank You.

 

1 ACCEPTED SOLUTION

Pavankumar_1
Mega Patron

Hi @ashok17 ,

If my response helps you to resolve the issue Accept the solution and close it. So that others can refer and get benefited.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

View solution in original post

5 REPLIES 5

Pavankumar_1
Mega Patron

Hi @ashok17 ,

If my response helps you to resolve the issue Accept the solution and close it. So that others can refer and get benefited.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar