Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox fields are not updated #2

Open
misaki-web opened this issue Apr 11, 2022 · 0 comments
Open

Checkbox fields are not updated #2

misaki-web opened this issue Apr 11, 2022 · 0 comments

Comments

@misaki-web
Copy link

Let's say we have a checkbox field in our Fluent form with the name statement. In the MailPoet integration feed, we associate this field {inputs.statement} with the corresponding one in the MailPoet form like this:

Field association

However, it'll fail. The new user is created but the checkbox statement is not checked in the MailPoet subscriber profile.

In its API documentation, MailPoet specifies:

If a custom field is a checkbox, send truthy or falsy value (true/false, 1/0 or "1"\"0").

If we associate fields with a truthy value as explained in the documentation, it'll work and the field with be checked in the MailPoet subscriber profile:

Field association with true/false value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant