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.

prevent the users from selecting a start date that is in the past when creating a new event

viswak
Tera Contributor

prevent the users from selecting a start date that is in the past when creating a new event

1 REPLY 1

Sandeep Raj Ram
Tera Contributor

Hi @viswak , you can create UI policy to restrict users from selecting past date, with condition 'start date before today' and display error message using g_form.addErrorMessage( ).

 

Regards,

Sandeep Raj