There may be some javascript from dynamicdrive or the like that could refuse a form submission based on that. To do it the regular WSN way you'd have to modify the register.php though to put in a check along the lines of if ($_POST['isbreeder'] == 'yes' && ($extrafield == '' || $otherextrafield == '')) $incomplete = true; somewhere around the rest of the incomplete checking.
Comments on registration required fields
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have extra fields in the registration template and I need to make them required IF another field (isbreeder) is yes. Can I do this? If yes, how?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
There may be some javascript from dynamicdrive or the like that could refuse a form submission based on that. To do it the regular WSN way you'd have to modify the register.php though to put in a check along the lines of
if ($_POST['isbreeder'] == 'yes' && ($extrafield == '' || $otherextrafield == '')) $incomplete = true;
somewhere around the rest of the incomplete checking.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Thanks Paul