Well, I don't know enough to modify this code to make it work with service-now but I think this would be ideal. Check and change format to the correct format.
I started to work on this and I found a wiki entry about adding the onBlur event, but it still isn't working properly. If nothing else, hopefully someone with more javascripting expertise can modify this script to work here.
I was finally able to put some time into this. Hopefully to help someone else here's the Catalog Client Script.
All you should have to do is make the script an onChange with the variable name set to the variable you want to validate.
Well, I don't know enough to modify this code to make it work with service-now but I think this would be ideal. Check and change format to the correct format.
I started to work on this and I found a wiki entry about adding the onBlur event, but it still isn't working properly. If nothing else, hopefully someone with more javascripting expertise can modify this script to work here.
I'd be interested in this too. I know there is another thread about this, http://community.service-now.com/forum/1264. But it just ref client script wiki page.
anyone?