The icon for elements of type Checkbox.
Functionality
Form elements of type checkbox add a checkbox to the current form. The properties panel label allows you to add a descriptive label to the checkbox.
Properties
Overview of the standard properties
This section describes only those properties that are different from the standard.
Options
Determines which value is transmitted when the form is sent if the checkbox is ticked.
Activate a checkbox by default
JavaScript is required to activate a checkbox by default. To prevent the checkbox from being checked again each time the form is opened, the execution of JavaScript must be restricted.
// If the form is opened for the first time (no status set), // activate the checkbox "cb1" if ($.xutil.isStatus(undefined)) { $('[data-name="cb1"]').prop("checked", true); }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article