Mike Singleton
|
| Posted: 04/24/2003, 12:48 PM |
|
How would I make a textbox only accept 3 (three) alphabetic characters in CCS??
I tried vaildationrule (like "???" ) and (???) ala Access... thanks.
|
|
|
 |
lukas.
|
| Posted: 04/25/2003, 2:22 AM |
|
you should use regular expressions. in your case, '^[a-zA-Z]{3}$' should do the job (whithout quotes).
lukas.
|
|
|
 |
Mike Singleton
|
| Posted: 04/25/2003, 5:42 AM |
|
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/NewProject1/TaskRecord.asp, line 272, column 8
If NOT (^[a-zA-Z]{3}$) Then
-------^
|
|
|
 |
Mike Singleton
|
| Posted: 04/25/2003, 5:58 AM |
|
Changed the regex from Validation Rule to input rule and it worked.. so that begs the question, what is the Validation Rule used for?? Comparison against another field?
|
|
|
 |
|