Answered
formatting time field
hello
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
thanks
hello
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
thanks
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.