views:

44

answers:

0

Hi i am trying to validate a form with jquery validation and at the same type validate form fields that came from an ajax call.

Here is the situaton

<input type="radio" onclick="load extra fields 1"> Radio 1
<input type="radio" onclick="load extra fields 2"> Radio 2

So when i select one radio i get bellow extra fields and i want to validate that a radio is selcted (you can not continue if a radio is not selected) and when radio is selected validate the extra fields came from ajax. Values of radios came from a database so using depends at validation does not seems secure.

Can any one help me whith that

Thanks