Date validation on a variable

Kanika4
Tera Contributor

Hi all

 

there is a variable on the form which should allow the date selection between 5 day prior and 2 weeks ahead from now.

how can i do that ?

5 REPLIES 5

Hi @Kanika4,

 

Can I know the sample dates which should be accepted, if the selected date is 07-07-2024.

What range of dates should be accepted.

 

The above code accepts the dates from 02-07-2024 to 21-07-2024. For the rest of the dates, it shows an error.

 


Mark the response correct and helpful if the answer assisted your question.