Yes, it is possible, as explained here:
https://beta.docs.mailpoet.com/article/252-how-to-add-a-checkbox-field-to-mailpoet-form
BUT
If I understand it correctly, the value of the custom_field is stored in the database table “wp_mailpoet_subscribers”, in the field “unconfirmed_data” until the user confirms with the link provided in the optin email.
Then, I suppose the value of the “unconfirmed_data” is moved into the table “wp_mailpoet_subscriber_custom_field”.
But this is not happening in my case. When the user opts in by clicking on the confirmation link, the value of the field “unconfirmed_data” is deleted, but nothing is inserted in the wp_mailpoet_subscriber_custom_field table.
Is this a bug or the intended behaviour? We need the value to be stored in the wp_mailpoet_subscriber_custom_field table, because it is necessary to prove that the user had checked the checkbox.
Thanks!
-
This reply was modified 6 years, 7 months ago by roquec.