Check List
The checklist allows users to check off several options from the list.
API Methods
setBindVariables
- Method
- Usage
setBindVariables(data: string[]): void
a8forms.CheckList("checkListId").setBindVariablessetCheck(["Name:Kavya","Id:21"])
setCheck
Sets the state of an item's check box.
- Method
- Usage
setCheck(bindParam: string): void
a8forms.CheckList("checkListId").setCheck("firstName")
setRequired
Sets a field to be required or not.
- Method
- Usage
setRequired(required: boolean): void
// Sets the field as required
a8forms.CheckList("checkListId").setRequired(true)
// Sets the field as not required
a8forms.CheckList("checkListId").setRequired(false)