- Jan 20, 2013
- 3,354
- 550
I have a struts web application and i want to do a scripting validation in JSP page by using Javascript.
I have a text fields for validation are,
1. Email
Conditions we have to check for email text filed: It must be in email pattern.
2. PhoneNumber
Condition: It doesn't allow alphabets, The phone number length must be 10.
3. Payment
Condition:It doesn't allow alphabets and the last three digit must be XXX.00 or XXX like this
Can any one help me .....
I have a text fields for validation are,
1. Email
Conditions we have to check for email text filed: It must be in email pattern.
2. PhoneNumber
Condition: It doesn't allow alphabets, The phone number length must be 10.
3. Payment
Condition:It doesn't allow alphabets and the last three digit must be XXX.00 or XXX like this
Can any one help me .....