See also: Tracker Field Rules Plugin TrackerToggleIntroduced in Tiki7 This wiki plugin utilizes jQuery to toggle the visibility of an HTML element (like a div) depending on the value of a field. This plugin can be used in Pretty trackers (but it is not meant to be used with pluginLIST ). This plugin permits Display logic. ParametersAdjust the visibility of content based on a tracker field's value, possibly dynamicallyIntroduced in Tiki 7. Required parameters are in bold .Go to the source code Preferences required: wikiplugin_trackertoggle, feature_jquery, feature_trackers
Note
ExamplesRadio buttonsThis code will show the div success only if the field 206 has the value "Show". When the field is not set yet, the div is not displayed. Copy to clipboard
Result:
Show only if checkbox is checkedThis code will show the div 'checkbox' only if the checkbox is checked. When the box is not checked, the div is not shown Copy to clipboard
Show unless checkbox is checkedWill show the div until the checkbox is checked. Copy to clipboard
|