Hello there,
Id like to force the user to fill one input field like one of the following masks:
9999-9999-9999
9999-9999
So he could write something like "1234-3210", but he could also write like "1234-6547-7777"
Is that possible somehow?
As i learned, these are not regular expresses, and i have to add the exact amount of the caraters in the mask.
Am i wrong? Or is there some solution for that? (regular expressions would be the best..)
thx
Martin
Masked Input's mask question
I also got a question related to masked input, if anyone could help me with .
Is it possible to somehow mask the input, so that the user is allowed to input only specific numbers like for example time "HH:mm". Currently I have mask with "99:99", which allows user to input from 0 to 9 but I would like the user to input value between min. 00:00 and max. 23:59.
Is it possible to somehow mask the input, so that the user is allowed to input only specific numbers like for example time "HH:mm". Currently I have mask with "99:99", which allows user to input from 0 to 9 but I would like the user to input value between min. 00:00 and max. 23:59.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests