Select Text Value

Categories

Component ID

2897675

Component name

Select Text Value

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

192

Component created

Component changed

Component body

This module provides additional widgets for the following field types:

  • Text (formatted)
  • Text (formatted, long)
  • Text (plain)
  • Text (plain, long)

The new widgets allow the site administrator to set some pre-defined values for the text field that the user can then select from, using either a select field or radio buttons.

Recommended that the "Allowed values" list does not use the key|label pattern that is common with Drupal field settings. Instead, just provide one value per line that will be both stored in the database and displayed on output.

The data is then saved to the database as the field would normally save it.

Similar to the "select_or_other" module, but with fundamentally different approach.