i want to use a custom keystroke script or code to make this function:
the ( : ) will insert automatically after i enter the first 2 digits
how to do that by javascipt
You can use this code to achieve it:
if (event.change && AFMergeChange(event).length==2) event.change+=":";
It's possible the code will disappear once you enter it. That's fine. It should still work.
where i have to put this script ?
As the custom Keystroke script of your field...
when i put the script and click ok
it back to first format window without saving the script
yes it disappear but i do not care as long it works
thank you so much as long you help me
There's a technical reason behind it (or a bug, if you'd like), but the important thing is it should work none-the-less.