Skip to main content
added 4 characters in body
Source Link
rk.
  • 17.9k
  • 1
  • 58
  • 88

In form fields like that, I usually make the first value nullfirst value null, to indicate no item was selected.

As far as order, I would either defer to the audience, then just go standard M/F

For the drop down, make it optional, with the default value of null (so as to allow form submission without error)

Gender:
Select one  <null>
Male        <male>
Female      <female>

In form fields like that, I usually make the first value null, to indicate no item was selected.

As far as order, I would either defer to the audience, then just go standard M/F

For the drop down, make it optional, with the default value of null (so as to allow form submission without error)

Gender:
Select one  <null>
Male        <male>
Female      <female>

In form fields like that, I usually make the first value null, to indicate no item was selected.

As far as order, I would either defer to the audience, then just go standard M/F

For the drop down, make it optional, with the default value of null (so as to allow form submission without error)

Gender:
Select one  <null>
Male        <male>
Female      <female>
Source Link
Mike Hill
  • 655
  • 4
  • 10

In form fields like that, I usually make the first value null, to indicate no item was selected.

As far as order, I would either defer to the audience, then just go standard M/F

For the drop down, make it optional, with the default value of null (so as to allow form submission without error)

Gender:
Select one  <null>
Male        <male>
Female      <female>