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
- Open the Properties of the variable and click the tab "UI Attributes".
- Click on "Add".
- Select the option "Input Type" from the dropdown menu.
- Type the desired value.
- Press the "Add" button to add the Input type to the UI Attributes list.
- 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 |