Client script for User must select date within 60 days.

User267
Tera Contributor

I have two fields start date and end date.

Start date can be anything, but end should be below 60 days from start date, if the user selects after 60 days then it should populate an error.

For example:

start date-9/8/2023

End date-within 60 days from above date, if user selects after 60 days it should display error.

Require client script for this

 

2 REPLIES 2

Fabian Kunzke
Kilo Sage
Kilo Sage

Hello,

 

@asifnoor has done a great article with a coding example here. This should guide you all the way 🙂

 

Regards

Fabian 

 

Ps.: If this helped you out, make sure to mark it as the answer/helpful. It makes it easier for others to find solutions to their endeavours.