UI Attributes

Input Type

The "Input Type" UI Attribute is used to replace the form-controls (radio button, checkbox, etc.) based on the domain of the variable.

 

Used on Variable
Possible values "Checkbox"
"Dropdown"
"Multiselect dropdown"
"Radio"
"Text area"
"Text field"
Possible domains all
Allow html No

How to use

  1. Open the Properties of the variable and click the tab "UI Attributes".
  2. Click on "Add".
  3. Select the option "Input Type" from the dropdown menu.
  4. Type the desired value.
  5. Press the "Add" button to add the Input type to the UI Attributes list.
  6. Click on "Save Changes".

How it works

When you want to change a type of form-control on a variable, you can select a  new type of form-control based on the domain of the variable. The possible combinations are:

Form control Variable domain
Checkbox Multiselect dropdown Quantitative / Qualitative enumeration that allows multiple answeres
Radio button Dropdown Quantitative / Qualitative enumeration
Text Field Text Area Qualitative length