Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Form field: checkbox

Modified on Tue, 16 Jan at 1:42 PM

  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.


Additional base settings for checkbox elements.


Properties

Overview of the standard properties


This section describes only those properties that are different from the standard.


Options

You can choose whether the checkbox should be checked initially.

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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article