on 12-03-2007 1:20 PM
Hi experts
I have some problem in the validation of the Address field of data type String
The user is permitted to enter alphabet and the numbers but not special characters except '-' and '/'. I should not allow the user to enter any special characters like @,!,#,$,%,^,&,*,square braces,paranthesis like this.I should validate when ever a user enters a special characters of that type and throw an error message.Can you please any one can give the guide lines or code snippet which gives the remedy for my problem.
Thanks and Regards
Kalyan
Hi Sumit
I didnt understand your expression how you framed that and can you please tell me how that expression can be written in my case assume that String must consists of Numeric 0 to 9 all alphabetic any case and - and / only .
It should not contain any other characters like !,@,#,$,%,^,&,*,(,),_,+,=,{,},[,],:,;,",',<,>,?,|,\ Here each character is seperated with ,.
Can you please give the expression which you framed in your code.
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.