Changes between Version 21 and Version 22 of DynamicFieldsPlugin


Ignore:
Timestamp:
Mar 25, 2011, 4:43:31 PM (4 years ago)
Author:
robguttman
Comment:

added default value append option

Legend:

Unmodified
Added
Removed
Modified
  • DynamicFieldsPlugin

    v21 v22  
    118118[ticket-custom]
    119119type.default_value = (pref)
    120 }}}
     120}}}
     121
     122For text fields, if the field's value is not empty, the default value will not be applied unless you set an {{{append}}} option to ''true'':
     123{{{
     124[ticket-custom]
     125cc.default_value = (pref)
     126cc.append = true
     127}}}
     128
     129Using {{{append}}} presumes the field is a comma-separated list and will append any missing values from the default preference value (which can also be a comma-separated list) to that field's list.
    121130
    122131The above example introduces the plugin's user preference facility described next.