Dynamic Options Elements simplifies the process of defining options for select lists, checkboxes, and radio buttons, offering a more user-friendly alternative to traditional key-value pairs. It allows developers to easily integrate this functionality into custom modules and provides a fallback option using a regular textarea when JavaScript is unavailable.
Dynamic Options Elements makes it easier to set options for select lists, checkboxes, and radio buttons.
Instead of using complicated codes like "key|value," it offers a simple way to do it. Developers can easily add Dynamic Options Elements to their own modules using $element['#type'] = 'options_element' . And if JavaScript isn't working, it still lets you set options using a regular textarea.
Ask your assistant about Dynamic Options Element
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.x-dev | Dev | 8–10 | Apr 16, 2024 | ||
| 1.0.0-beta1 | Pre-release | 8–10 | Apr 16, 2024 |