Click here to Skip to main content
15,607,524 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i validate a control using required field validator
I have two radio buttons discount percentage and discount amount and also two text boxes when i select an option the appropriate text box cannot be empty
Sandeep Mewara 4-Oct-12 16:37pm    
Tried anything?

Look at this link:[^]

And search google for form validation javascript.

Using the form validation methods described in those links will help you to achieve what you want to do.

If you find problems implementing it come back!

Good luck!
Share this answer
use custom validator and write your own javascript method.
Share this answer
Nikhil Paulson 5-Oct-12 3:00am    
Can you provide an example ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900