Options Element

Not really needed most of the time unless you find that you want to be able to have a prettier way of providing values for multi-value key|value lists.

"Options Element is a module that provides a better mechanism to specify select list, checkbox, and radio button options. Rather than requiring the user to use strange syntax like "key|value" in a textarea, Options Element provides a clean interface for specifying options. Developers may use $element['#type'] = 'options' in their own modules. If JavaScript is disabled, any 'options_element' will degrade to the standard textarea for specifying options."

Tags

External References

Article Type

Drupal Module: Specialty