Overview

Prev Next

The visibility of fields in Add/Edit item window can be controlled with a combination of field templates, depending on the values selected in optioned fields. This functionality is called Dynamic Forms. Dynamic forms work with simple optioned fields and module link fields as well. Supported field type are selectboxes, radio buttons, statuses. To make them work properly it is required to have a Base field template specified separately for the “Add” and “Edit” item windows, so that user will see relevant fields according to template. Additional field templates (dynamic templates) can be assigned to particular options of the selectbox field, that will show additional fields in Add/Edit item window depending on the value selected.

Pay attention, that base field template and templates assigned to option works in chain, meaning that the field you want to display when certain option is selected must be initially hidden by base template.

See the next articles for the examples.