• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Removing birthday fields

#1
Customers don't realize we don't require then to fill out their date of birth. They complain about its mere existence in the sign-up page.

Is there a way to remove it entirely?
 

Brogan

XenForo moderator
Staff member
#2
You can edit the register_form template to remove <xen:include template="helper_birthday_row_register" />.
 

rafass

Well-known member
#5
Without this code in register_form, the registration looks easy and clean :

Code:
    <dl class="ctrlUnit">
        <dt>{xen:phrase gender}:</dt>
        <dd>
            <ul>
                <li><label><input type="radio" name="{$fieldMap.gender}" value="male" {xen:checked "{$fields.gender} == 'male'"} /> {xen:phrase male}</label></li>
                <li><label><input type="radio" name="{$fieldMap.gender}" value="female" {xen:checked "{$fields.gender} == 'female'"} /> {xen:phrase female}</label></li>
                <li><label><input type="radio" name="{$fieldMap.gender}" value="" {xen:checked "!{$fields.gender}"} /> ({xen:phrase unspecified})</label></li>
            </ul>
        </dd>
    </dl>
  <xen:include template="helper_birthday_row_register" />