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

how to remove "Gender: (unspecified)" ?

Discussion in 'XenForo Questions and Support' started by erich37, Aug 3, 2012.

  1. erich37

    erich37 Well-Known Member


    I would like to remove the Gender named "(unspecified)" from the registration page at my Forum.

    Could you please let me know how to properly do this?

    Appreciate your help!

    Many thanks!
  2. ragtek

    ragtek Guest

    template register_form

    <li><label for="ctrl_gender_"><input type="radio" name="gender" value="" id="ctrl_gender_" {xen:checked "!{$fields.gender}"} /> ({xen:phrase unspecified})</label></li>

    BUT (crazy) users would be still able to add it to the form and it would be saved successfull...:p
    Jake Bunce and erich37 like this.
  3. erich37

    erich37 Well-Known Member

    Many thanks ragtek,

    by default the "Gender (not specified)" has the radio-button activated.

    Is there a chance to have the radio-button activated for the very first option which is "Gender: male" ?

    Or will this just be fine to reove the line of code which you have mentioned?
  4. Andy.N

    Andy.N Well-Known Member

  5. erich37

    erich37 Well-Known Member

    Thanks a lot Andy :)

Share This Page