/sense-option-variable

Sense Option Variable, allow the user to set the value of a variable in an option set

Primary LanguageCSS

sense-option-variable

Sense Option Variable, allow the user to set the value of a variable in an option set# sense-option-variable Allow the user to set the value of a variable in an option set by dropdown input radio or by cyclic button

#Configuration

this extension need 7 parameter for working:

variable name: the name of the variable to controll

option values: it must be a list of options separed by commas. it could be the result of an expression, ex: =Concat(distinct field,',') or a comma separed list of values ex: 1,2,3,4 .

option descriptions: it must be a list of options descriptions separed by commas, this array must be ordered in the samy way as the option values array. it could be the result of an expression. if not present whil be used the value as description.

title: a string that tells the user what is the variable.

help text: a string that help the user.

input type:

  • drop down: the user must select a value from a drop down list.
  • checkboxes: all the options are draw in a list, useful with less options.
  • cycle button: user can cycle over possible values by clicking on button.

disable input: if it is empty the user can modify the value other whise it is not possible. it could be an expression ex: =if(getPossibleCount(field)=1,'',true())