Dependent Fields
The ability to show/hide form items depends on the value of another form item
This module intent to simplify long form submission by your sites' users. Sometimes the user does not have to fill some form fields that may divert him/her from the most important field. Websites in which there are large forms may find this module helpful. You can use it with any kind of field type and it encapsulates itself into the CCK field's admin page.
The Dependent Field module also allows you to determine whether the dependent "child field" will be attached right after its "parent field" in the form or not. This way the user can easily see how the his/her choices affect the form.
The module also allows nested fields dependencies, which means that a field can depend on the value of a certain field that also depends on another field. This way you can start your node edit page with few questions and the user will explore the node form depending on his/her choices. This module also supports the Related Subform module. It is possible to hide/show a subform element depends on a field's value.
For now, Dependent Fields only supports values from single on/off checkboxes, a group of checkboxes/radio buttons or select fields.
Future developments
- the ability for fields in a subform to depend on the parent form fields' values
- multiple dependencies and visibility chaining
As always, please be cautious when using development modules on production sites.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 5.x-1.4-beta | 2008-May-31 | 12.9 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-Oct-16 | 11.13 KB | Download · Release notes | Development snapshot | |
