Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/187688803685761028
added 1 characters in body
Source Link
Joe Beuckman
  • 1.1k
  • 13
  • 35

Is there a way with the Form API to specify that one oreor more #options#options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.

Is there a way with the Form API to specify that one ore more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.

Is there a way with the Form API to specify that one or more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.

Source Link
Joe Beuckman
  • 1.1k
  • 13
  • 35

How to add separator option in Form API 'select' element?

Is there a way with the Form API to specify that one ore more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.