120 | | The ''(pref)'' will cause this rule to be added to a new '''Dynamic Fields''' preference panel where the user can disable the rule by unchecking the rule's checkbox. Some rules require user input such as the default value rule above. In that example, the user can both enable/disable the rule as well as set the field's default value for him/her. |
| 120 | The ''(pref)'' will cause this rule to be added to a new '''Dynamic Fields''' preference panel where the user can disable the rule by unchecking the rule's checkbox. Some rules require user input such as the default value rule above. In that example, the user can both enable/disable the rule as well as set the field's default value for him/her. If you wish to disable a preference by default, append ''(pref:disable)'' to the end of the rule like so: |
| 121 | {{{ |
| 122 | [ticket-custom] |
| 123 | alwayshidden.show_when_type = invalid_value (pref:disable) |
| 124 | }}} |
| 125 | |