1. 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

Discussion in 'XenForo Questions and Support' started by KVMG, Jun 8, 2014.

  1. KVMG

    KVMG Member

    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?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can edit the register_form template to remove <xen:include template="helper_birthday_row_register" />.
  3. AndyB

    AndyB Well-Known Member

  4. KVMG

    KVMG Member

    Thanks guys. This has been very helpful.
  5. rafass

    rafass Well-Known Member

    Without this code in register_form, the registration looks easy and clean :

        <dl class="ctrlUnit">
            <dt>{xen:phrase gender}:</dt>
                    <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>
      <xen:include template="helper_birthday_row_register" />

Share This Page