|
I'm looking for something to "auto fill" the semicolon(:) when someone types a time in a form field. hh:mm... So basicaly if a person types in one or two digits it will automatically put the : after the digit.
|
|
|
That's a colon, the semicolon is ";". I would suggest using a regular expression.
Try this one, I haven't tested it.
(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])
|
|
|
|
|
Opps! Sorry for the typo.
|
|
|
|
|
|
|
|