Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{
&nbsp; &nbsp; *size* : '<span style="color: #0000ff">10</span>', <span style="color: #99cc00">//optional, integer value, default is 4,</span> <span style="color: #008000">only for multi select box</span>
&nbsp; &nbsp; *options* : \[<span style="color: #99cc00">//is optional to use this attribute or options_ajax</span>
&nbsp; &nbsp; &nbsp; &nbsp; {value: '<span style="color: #0000ff">value1</span>', label : '<span style="color: #0000ff">Value 1</span>'},
&nbsp; &nbsp; &nbsp; &nbsp; {value: '<span style="color: #0000ff">value2</span>', label : '<span style="color: #0000ff">Value 2</span>'},
&nbsp; &nbsp; &nbsp; &nbsp; {value: '<span style="color: #0000ff">value3</span>', label : '<span style="color: #0000ff">Value 3</span>'}
&nbsp; &nbsp; \],
&nbsp; &nbsp; *options_ajax_on_change* : '<span style="color: #0000ff">property1</span>', <span style="color: #99cc00">//optional, value of this property name and value will passed over as HTTP request parameter to loadthe URL defined in the options_ajax from ajax<property</span>
&nbsp; &nbsp; *options_ajax* : '<span style="color: #0000ff">URL to load options JSON</span>' <span style="color: #99cc00">//optional, URL which returns returnthe JSON Array of a set of Objects that have value &amp; label attribute</span>
}

...

{
    options_ajax_on_change : 'property1', //optional, value of this property name will passover to load options from ajax this property name and value will passed as HTTP request parameter to the URL defined in the options_ajax property
    options_ajax : '

Wiki Markup
\[CONTEXT_PATH\]
/web/property/json/getElements?classname= org.joget.apps.form.model.FormLoadElementBinder', //Load plugin list based on class name given
    url : '
Wiki Markup
\[CONTEXT_PATH\]
/web/property/json
Wiki Markup
\[APP_PATH\]
/getPropertyOptions'//Load plugin properties
    keep_value_on_change : 'true' //optional, boolean value, default is false. To keep current configuration for the next selected element
}

...