Valid To field not allowed to select from past date on Valid From field

ashok17
Tera Contributor

Hi All,

Please let me know possible solutions for below requirement and I am trying create UI policy but can't able for this requirement.

 

"Valid To field not allowed to select from past date on Valid From field."

 

Thanks

 

 

 

5 REPLIES 5

Voona Rohila
Kilo Patron
Kilo Patron

Hi @ashok17 

This use case is clearly explained in below article 

https://www.servicenow.com/community/developer-articles/no-code-date-validations-through-catalog-ui-... 

 

If you've already tried then please share screenshots of the UI policy.

 

 

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Thanks for response and how we will give condition in UI policy for 'valid date to' field not allowed to past date of valid from field.

Hi @ashok17 

Same use case is mentioned in this article, Please take a look

 

https://www.servicenow.com/community/developer-articles/no-code-date-validations-through-catalog-ui-...

 

Adding the same image from article  here:

VoonaRohila_0-1729709640164.png

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Sumanth16
Kilo Patron

Hi @ashok17 ,

 

Please refer below thread:

https://www.servicenow.com/community/developer-forum/date-field-validation-to-restrict-selecting-pas...

 

Please mark my answer as helpful/correct if it resolves your query.

 

Thanks   & Regards,

Sumanth Meda