How to restric field to add only time value

keval3
Tera Contributor

Hello All,

 

in the table I have one field with the type of string now I want that user can add only time in that field else error come.

time format must  be with colon(:) 10:30 or 10:00

 

Please let me know the related code

 

Thanks & Regards

KP

1 REPLY 1

Anil Lande
Kilo Patron

Hi,

Please check below link:

https://www.servicenow.com/community/incident-management-forum/24hrs-time-validation-for-string-fiel...

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande