The default "gender" list consists of "Male", "Female", and "Transgender". People who would not choose "Male" or "Female" would not necessarily want to choose "Transgender". Instead, I suggest that the defaults use allow the "other" option for maximum flexibility.

Comments

Liam Morland created an issue. See original summary.

liam morland’s picture

Assigned: liam morland » Unassigned
Status: Active » Needs review
StatusFileSize
new4.3 KB
jrockowitz’s picture

The '#type': radios_other needs to be changed to '#type': webform_radios_other.

When you edit the 'Elements' source via the UI the webform_* prefix is removed from the #type and then added back when the 'Elements' are saved.

@see #2848042: Rework #type shorthand prefix handling

jrockowitz’s picture

  • jrockowitz committed 13d2630 on 8.x-5.x
    Issue #3010129 by jrockowitz, Liam Morland: Allow "other" gender in...
jrockowitz’s picture

Status: Needs review » Fixed

@Liam Morland Thanks for the suggestion and the patch.

kpaxman’s picture

It may be worthwhile to look at how the Gender Field module handles this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.