Click here to Skip to main content
15,917,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have gender selection in child page of registration form

user has to select anyone

i need javascript code to validate this requirement


can any one help me
Posted

1 solution

Take a look at the following article. Explains gender validation with radio buttons with code example.
Form Validation with JavaScript[^]

Alternatively you can use RadiobuttonList with required field validator.

Take a look at the article here
asp.net RequiredFieldValidator example: how to validate RadioButtonList [^]
 
Share this answer
 

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