Hi gurus!
I am trying to make a checkbox a "required" field on my form.
My checkbox input:
My required input:HTML Code:<input name="consent_checkbox" id="consent_checkbox" type="checkbox" />
All other fields are successfully checked and the javascript notice pops up to say some fields need to be filled in. However I can submit the form whether I check the consent checkbox or not.HTML Code:<input id="req_id" name="req_id" value="first_name;last_name;account_name;phone_work;sic_code_dropdown_c;primary_address_postalcode;consent_checkbox;" type="hidden" />
Any ideas what I have missed?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks