Forum List
Message List
New Topic
Sebastian Arnold
Regular Expression in Edit Fields
November 14, 2011 10:08PM
I know that there is MatchRegularExpression(). It checks a string if it matches a RegEx. But I wan't to have a RegEx as an input mask. So it stops the user entering false data while he is typing.
Just imagine the following input:
"123-456" //valid
"123/456" //valid
"123.456" //false
"1-456" //valid
Sebastian
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Your Email:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
Message:
[Please Enable JavaScript]