Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Limit date selection in date field

vcaracci75
Tera Expert

I would like to set up a date field (variable name: "access_expiration_date") so that if a user tries to select a date greater than six months from the current date, they will get an error message. I would imagine this is an easy script to write, but I'm a fairly new admin and I'm not quite sure how to do it.

Thanks!

Vince

15 REPLIES 15

bala37
Kilo Contributor

Hello,

Instead of alert if user selects greater than 6months date we need to restrict while selecting.

Is that possible to set dates above 6months read only??

If  possible please let me know.

 

Thanks.