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

XF 1.2 Simplifying Registration

Discussion in 'XenForo Questions and Support' started by JayX, Oct 13, 2013.

  1. JayX

    JayX Active Member

    Hi, is it possible in any way to remove the gender and date of birth questions from the registration process?

  2. whynot

    whynot Well-Known Member

    Date and Birth removal in the ACP "User Registration"
  3. Mouth

    Mouth Well-Known Member

    /admin.php?options/list/usersAndRegistration for DoB
  4. AndyB

    AndyB Well-Known Member

    Edit the register_form template. Add the comments as shown here:

    <!-- remove gender question -->
       <dl class="ctrlUnit">
         <dt>{xen:phrase gender}:</dt>
             <li><label for="ctrl_gender_male"><input type="radio" name="gender" value="male" id="ctrl_gender_male" {xen:checked "{$fields.gender} == 'male'"} /> {xen:phrase male}</label></li>
             <li><label for="ctrl_gender_female"><input type="radio" name="gender" value="female" id="ctrl_gender_female" {xen:checked "{$fields.gender} == 'female'"} /> {xen:phrase female}</label></li>
             <li><label for="ctrl_gender_"><input type="radio" name="gender" value="" id="ctrl_gender_" {xen:checked "!{$fields.gender}"} /> ({xen:phrase unspecified})</label></li>
    JayX and Amaury like this.
  5. Amaury

    Amaury Well-Known Member

    <xen:comment></xen:comment> would work better. It won't even render then.
    JayX and AndyB like this.
  6. AndyB

    AndyB Well-Known Member

    Breixo likes this.

Share This Page