I'm hoping someone can help me.
I have created a form and have input the html under the "Code" tab (I did not create the form using the wizard).
I wanting to make some fields required but don't know what code (or changes to code) I need to enter or where.
The form is quite long (with select boxes, text boxes and a text area) thus the html is lengthy too and I hope the answer isn't that I've got to start again but this time via the Wizard !
Any help would be appreciated and I've included some example code below:
I have created a form and have input the html under the "Code" tab (I did not create the form using the wizard).
I wanting to make some fields required but don't know what code (or changes to code) I need to enter or where.
The form is quite long (with select boxes, text boxes and a text area) thus the html is lengthy too and I hope the answer isn't that I've got to start again but this time via the Wizard !
Any help would be appreciated and I've included some example code below:
<div class="ccms_form_element cfdiv_header" id="autoID-6a22021baa9659d784a21fc9fd19dade_container_div">Please complete all fields in the booking form below and press "Submit"; please note we do need this booking form in order to complete the booking process.<div class="clear"></div></div><div class="ccms_form_element cfdiv_header" id="autoID-7c704b7c5977c0271efb774d9c8defe0_container_div"><p><span style="text-decoration: underline;"><strong>Lead Member's Details</strong></span></p><div class="clear"></div></div><div class="ccms_form_element cfdiv_select label_over" id="autoID-f4568e6c36955db7c61923bc7c0c873d_container_div"><label>Title</label><select size="1" class=" validate['required']" title="" name="Title">
<option value="">Please Select</option>
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Miss">Miss</option>
<option value="Ms">Ms</option>
<option value="Dr">Dr</option>
</select>
<div class="clear"></div><div id="error-message-Title"></div></div><div class="ccms_form_element cfdiv_text" id="autoID-4cec0b0a74969e03d5ab8aa81068a526_container_div"><label>Initial</label><input maxlength="1" size="1" class="cf_inputbox required" title="" type="text" value="" name="Initials" />
<div class="clear"></div><div id="error-message-Initials"></div></div>
<div class="ccms_form_element cfdiv_text" id="autoID-6c569d7d7951288aac6170ac93f57de7_container_div"><label>Surname</label>
<input maxlength="150" size="30" class=" validate['required']" title="" type="text" value="" name="Surname" />
<div class="clear"></div><div id="error-message-Surname"></div></div>