Linking Forms with Boolean Metafields
This page explains how to link boolean-type metafields (toggle switches) with forms created using AL CustomerMetaSync.
Supported Metafield Type
- Boolean
The toggle switch is ideal for binary choices such as Yes / No.
Examples:
- Opt-in for direct mail
- Willing to participate in user interviews
Configuration in the Form Builder
Click the “Add Field” button and select Toggle
.
Set a clear and descriptive label for the field so customers can easily understand its purpose.
From the metafield linking dropdown, choose the boolean-type metafield you want to connect. Only metafields of the boolean type will be shown as options.
If needed, configure additional options. For more details on these options, please refer to Form Configuration Details.
Input and Saving via Form
When a customer toggles the switch from either the Profile Page or Thank You Page and submits the form, the corresponding customer metafield will be updated with a true / false value.
In the next section, we will introduce detailed configuration options for the form as a whole.