Choice List widget can be used to create a list of options for the user to choose from while filling out the form.
For example, you might want to create a choice list for gender - ‘male’ and ‘female.’
To use Choice List in your form, just drag the widget from the left panel and drop it to the middle screen.
You can add more than one Choice List in your form. There are various properties in Choice List that you can set.
As it suggests, the label would allow you to change the name of the Choice List.
You change the text by clicking the ‘Choice List’ on the right panel - and add your own text.
For example, You can name Choice List as ‘Gender.’
You can use this property to make that Choice List mandatory to be filled.
Some fields in your form might be mandatory, while some might not be.
For example, gender as a choice list can be mandatory, therefore, should be set to ‘Yes’ in the Required property.
While the ‘name of the department’ might not mandatory, therefore, should be set to ‘No’ in the required property.
So, while filling out a form, the user will have to compulsorily fill out the ‘gender’ field, while he might skip the ‘name of the department’ field since it’s not required.
Every field will have a unique identifier. No two unique identifiers for fields will be the same.
Please note that ‘Unique Identifier’ property is just for reference purpose only. The user need not have to do anything to this property, it can be referred when there are fields created with the same names.
When you create two fields with the same names, it might get confusing when you are setting a condition and you wouldn’t know which field is which.
If you have created a field ‘address’ - and set a visibility condition to it saying the ‘address’ field will be only visible if you have entered the ‘Phone number.’
But if there are two fields that say ‘Phone Number’ - it will be difficult to set a visibility condition since both the fields have the same name.
Both of these fields ‘Phone Number’ will have different unique identifiers. You can check the unique identifier and then set the condition accordingly.
Validity Condition in the property for Choice List is used to specify a condition.
If you set any validity condition, it implies that the choice list will only be valid if it satisfies the condition that you have set.
It can be set by specifying the condition - you can do that by clicking ‘condition not specified.’
For example, You might create a Choice List ‘How many years of work experience?’ which will be only valid if the user chooses ‘Yes’ option in the ‘Do You Have Work Experience?”
Otherwise, it would be invalid and show an error message.
Validations can help you control the type of input during the filling of a form by the user.
You can also customize an error message that you want to display by typing the message in ‘Validity Error Message.’ This message will be displayed when the validity condition does not match with the given input.
You can write an error message “This field is for experienced people only.”
Visibility Condition in the property for Choice List is used to specify a condition.
If you apply any visibility condition, it implies that the Choice List will only be visible if it satisfies the condition that you have set.
Visibility condition can be set by specifying the condition - you can do that by clicking ‘condition not specified.’
You might create a choice list ‘on which floor do you stay?’ which will be only visible if the user chooses ‘Yes’ option in the earlier field ’do you stay in an apartment?’
Visibility conditions can help you control the type of input during the filling of a form by the user, and eliminate unwanted data.
Data Source is ‘Fixed’ by default in properties, which means you have to provide the different choices in the choice list.
However, you can also set that to ‘Reference List’ if you have already created a list in other forms that you want to refer to.
For your Choice List to contain options, you must add options in the ‘Choices’ property.
You can do that by typing options one below the other.
For example, you can create a choice list for ‘On which floor do you stay.’ And use the Choice property to add options - 1st Floor, 2nd Floor, 3rd Floor, etc.
Another simple example: You can create a choice list for ‘Gender’ and add Male & Female using ‘Choices’ property.
If you want your choice list to have any unit mentioned, then use ‘Unit’ property and define your unit. It is empty by default. But you can add your unit by typing it.
For example, if you create a choice list for annual incomes, then you can mention the unit as ‘in dollars’ for better understanding.
This is an optional property though - you might also skip using it.
Usually, the choice list allows the user to select only one option from the choices available, but if you set the property of Multiple Selection as ‘Yes,’ then you can allow multiple choice selection.
For example, you can have a choice list with ‘Multiple selection’