Registration

Adding custom meta data to the register form in the 'sub_form' template

Text input
<li class="label"><label for="meta_title">Title</label></li>
<li><input type="text" class="fmInput required" id="meta_title" name="meta[title]" title="Title"/></li>
Check box (commonly used for newsletter opt-ins)
<li class="label checkbox clearfix">
<fm:Form_CheckBox name="meta[opt1]" formType="simple" class="left" id="opt1" />
<label for="opt1"> I want this opt-in</label>
</li>
Select
<select name="meta[title]" class="fmSelect">
<option value="Mr.">Mr.</option>
<option value="Ms.">Ms.</option>
<option value="Mrs.">Mrs.</option>
<option value="Miss.">Miss.</option>
</select>

0 comments

Be the first to comment on Registration.

Add a Comment

  • captcha