A Checkbox list is a repeating component that allows the user to select one or a combination of items from the list. This differs from a radio list in that it is possible to select more than one item from a checkbox list. This differs from a dropdown in the same way.
This is the list of selected options from the checkbox list.
This is the list of data. Each item in the list will have its own item in the checkbox.
If provided, this is the value stored in the selected objects array, provided in the Selected argument. The entire item will be stored in the list when selected if not provided.
This expression is executed on each item in the list to determine whether it is currently selected.
By default: item. This property is used within the context of the checkbox cell as the current item in the cell.
By default: index. This is the number value of the current index of the current item. Visible within the context of the checkbox cell.
By default: items. This is a variable referring to the entire collection of objects. With the default values set up, items[index] = item.
Checkbox Cell is the default container with a checkbox cell and is part of the Checkbox List. Within the checkbox cell, the selected item can populate the information to the user. If a checkbox control is placed within the checkbox cell, it will be selected when it passes the selected criteria on the Checkbox List Web Component.
Example 1: Simple Checkbox
A simple checkbox with a label:
This checkbox list can easily be created by inserting a Checkbox List. Setting the value of the list to a list of selected objects (in this case, houses). In the Data Binding section, set the Data to the collection. Set the Selected to CONTAINS(selected_houses, item) where selected houses are the list of items to be selected, and the item is the current item in the list.
This default example will take care of the selection. No additional properties are required on the Checkbox cell, nor are any actions needed to maintain the selection. The checkbox list will maintain it.
- Checkbox Cell Web Control - detailed information on the checkbox cell.
- Checkbox Web Control - detailed information about the visual checkbox.
- Working with Option Lists vs. Dynamic Lists - For information on dropdown lists and other list types.
- Working with Forms & Agreements - has a complete list of information on forms and agreements.