Adds a new CheckFormField.

<void> FormFieldCollection.addCheckFormField(<boolean> isChecked, [<RequestCheckFormFieldCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
isChecked Specifies whether the checkbox is initially checked or unchecked. When this parameter is true, it is checked.
callback Optional. Receives the added CheckFormField.
errorCallback Optional. Is called when the operation failed with an error.

Further Reading

Learn more about the Javascript: FormFieldCollection.addCheckFormField Method in the Text Control Blog: