{exp:freemember:register form_class="form form--standard" error_handling="inline" return="account/register/thanks" required="first_name|last_name|email|company|address_1|city|postcode" error_delimiters='<span class="error">|</span>'}
<fieldset>
...
<h3>Do you want to request a trade account?</h3>
<div class="form__group form__group--inline">
<input type="radio" id="trade-account-yes" name="m_field_id_22" class="form__toggle form__toggle--radio" value="yes" {if '{m_field_id_22}'=='yes'}checked{/if}>
<label for="trade-account-yes" class="form__label">Yes</label>
</div>
<div class="form__group form__group--inline">
<input type="radio" id="trade-account-no" name="m_field_id_22" class="form__toggle form__toggle--radio" value="no" {if '{m_field_id_22}'!='yes'}checked{/if}>
<label for="trade-account-no" class="form__label">No</label>
</div>
</fieldset>
<fieldset>
<div class="form__group">
<input type="checkbox" id="accept_terms" name="accept_terms" class="form__toggle form__toggle--checkbox">
<label for="accept_terms" class="form__label form__label--required">I have read and agree to the <a href="/terms-and-conditions">Terms and Conditions</a></label>
{error:accept_terms}
</div>
<div class="form__group">
<button type="submit" class="btn">Continue</button>
</div>
</fieldset>
...
{/exp:freemember:register}```
-
-
Save cole007/692dc925747ff07136872f096b2a44b0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment