Tracker Field Rules
New in Tiki 21.0 - this provides an easy way to make fields in a tracker form show or hide (or be required or not) depending on the settings of other fields in the form.
Some brief instructions:
- Go to the Features Control Panel and enable "Enable Vue.js" and "Tracker Field Rules" in the Interface tab
- Go to the field admin page for a tracker
- Click on a field (try a checkbox for instance)
- Go to the "Rules" accordion section
- Pick true or false for the "is checked" condition
- Choose a field from the actions menu, and then an action (e.g. show)
- Choose a field from the else menu, and then an action (e.g. hide)
- Save the field
- Then go to edit an item in that tracker and check and uncheck the checkbox
create a new item to try this out
Note, this is an extremely new feature and should be considered rather fragile as of 21.0 (early 2020). Future changes in the code may mean you need to remake your rules after an upgrade.
Related:
- Trackers
- PluginJQ (the former way to achieve this behavior in Tiki < version 21.0)
Alias names for this page:
Tracker Rules | TrackerRules | TrackerFieldRules | Tracker Rule | TrackerRule | TrackerFieldRule | Rule | Rules