[SOLVED] Hidden fields added by the FormBuilder module
Posted: Wed Jun 18, 2008 8:12 am
Hi all,
I'm having a bit of a problem with three hidden fields added by the formbuilder module. Have a look at the code for my form below:
My problem here is that I am aiming to make the site 100% valid XHTML Strict and the three 'offending fields' above are the last things that are breaking this (they need to be wrapped in a div like the ones above them).
I was wondering if there was anyway to move them into the div (class="hidden") above them or at least surround them in a new one?
For reference, I'm using (if you need any other info just let me know):
FormBuilder 0.4.4
CMS Made Simple 1.2.4 (need to upgrade once this is sorted!)
Any help on this would be greatly appreciated.
Thanks in advance.
Tom
I'm having a bit of a problem with three hidden fields added by the formbuilder module. Have a look at the code for my form below:
Code: Select all
<form id="m3moduleform_1" method="post" action="index.php" enctype="multipart/form-data">
<div class="hidden">
<input type="hidden" name="mact" value="FormBuilder,m3,default,0" />
<input type="hidden" name="m3returnid" value="15" />
</div>
<!-- THE OFFENDING FIELDS! -->
<input type="hidden" name="m3form_id" value="3" />
<input type="hidden" name="m3fbrp_continue" value="2" />
<input type="hidden" name="m3fbrp_done" value="1" />
<div>
<label for="m3fbrp__21" class="form_label">Your Name:</label>
<div class="textboxbg">
<input type="text" name="m3fbrp__21" id="m3fbrp__21" value="" size="25" maxlength="80" />
</div>
<label for="m3fbrp__22" class="form_label">Your E-Mail:</label>
<div class="required textboxbg">
<input type="text" name="m3fbrp__22" id="m3fbrp__22" value="" size="25" maxlength="80" />
</div>
<label for="m3fbrp__23" class="form_label">Comments:</label>
<div class="required textareabg">
<textarea name="m3fbrp__23" cols="8" rows="6" id="m3fbrp__23"></textarea>
</div>
<div class="submit">
<input name="m3fbrp_submit" value="Submit" type="submit" class="fbsubmit" id="fbsubmit" />
</div>
</div>
</form>
My problem here is that I am aiming to make the site 100% valid XHTML Strict and the three 'offending fields' above are the last things that are breaking this (they need to be wrapped in a div like the ones above them).
I was wondering if there was anyway to move them into the div (class="hidden") above them or at least surround them in a new one?
For reference, I'm using (if you need any other info just let me know):
FormBuilder 0.4.4
CMS Made Simple 1.2.4 (need to upgrade once this is sorted!)
Any help on this would be greatly appreciated.
Thanks in advance.
Tom