• 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)" ?

erich37

Well-known member
#1
Hi,

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!
 
R

ragtek

Guest
#2
template register_form

remove
Code:
<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
 

erich37

Well-known member
#3
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?