backfromthebush
New Member
- Joined
- Jul 2, 2010
- Messages
- 37
Hi all,
I have a form which asks the user for a contract number via an input box.
The format of this number should be xxx-xxxxxxx-xxx.
Is there a code I can add that will validate the number so that it is entered in the above format e.g. 123-1234567-123.
If the contract number is correct it will skip to the next part of the code. If it is incorrect then it will bring up an error message giving the user the option to override the error, or return to the contract number input box.
Any suggestions?
I have a form which asks the user for a contract number via an input box.
The format of this number should be xxx-xxxxxxx-xxx.
Is there a code I can add that will validate the number so that it is entered in the above format e.g. 123-1234567-123.
If the contract number is correct it will skip to the next part of the code. If it is incorrect then it will bring up an error message giving the user the option to override the error, or return to the contract number input box.
Any suggestions?