• Hi,

    I am experiencing an issue when using the built-in Sendinblue integration for Contact Form 7.

    All the form tags within the Contact Form 7 form behave as expected, apart from an Acceptance checkbox tag. The Acceptance checkbox tag is declared as follows in the form:

    [acceptance your-acceptance] I agree to receiving emails [/acceptance]

    This tag is mapped to my Sendinblue contact attribute ACCEPTANCE, which is of type TEXT.

    If the form is completed you will receive an attachment (sent by contact form 7/send pdf addon), of a CSV file. The csv file contains all the tags and their values collected in the form at the time of submission. The csv file shows the value for ‘your-acceptance’ tag is “Consented: I agree to receiving emails” (TEXT).

    However the mapped contact attribute ACCEPTANCE in Sendinblue is populated with the value “1”. So although the csv file suggest that a text value of “Consented: I agree to receiving emails” is captured using the ‘your-acceptance’ CF7 tag a ‘1’ is applied to the Sendinblue contact attribute ACCEPTANCE. I am not sure if this is somehow acting like a boolean value, but why would this happen if the CF7 form tag is TEXT and so is the mapped Sendinblue contact attribute?

    In the contact attribute–form field mapping, all mappings are working as expected, apart from one that is the named ACCEPTANCE of type TEXT.

    Initially I was using MailChimp with a third paty integration which correctly mapped the value as “Consented: I agree to receiving emails” and not a ‘1’.

    I have been in contact with Sendinblue and they state it is nothing to do with their platform but instead the integration of the Contact Form 7 plugin.

    Kind regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter freddiesfather

    (@freddiesfather)

    Hi,

    The contact form can be located at https://letterfromsantanorthpole.com/simple-contact-form/

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    In the first place, is there any reason you want to store that value in Sendinblue’s contact database? The checkbox is compulsory to check, so everybody has the same value on the field.

    Thread Starter freddiesfather

    (@freddiesfather)

    Hi,

    Thank you for the reply.

    Yes there are a number of reasons I would like to store that text value in Sendinblue’s contact database that may not be evident from the form link I supplied.

    In fact, the form I supplied was actually provided just to demonstrate the issue in the simplest of forms, but I guess that does not provide context, my bad!

    I actually have other forms and intend to use forms in this project where checking a tag acceptance box is NOT required. Also, going forward, I intend to utilise the acceptance box to signify different types of acceptance, meaning more than one acceptance attribute within sendinblue and potentially with different values.

    I won’t bore you with all the actual reasons why I would like your sendinblue integration to store a text value similar to “Consented: I agree to XYZ” in Sendinblue’s contact database instead of a boolean value.

    If the behaviour of adding a boolean in the sendinblue contact database instead of a text one is correct and how the integration should function, then please just tell me. Then if that’s the case then I will either decide if I wish to still move forward with your built-in integration but have to make changes with how I handle the values, or I return to a third party integration that does support this. I can see either method working; it will just mean extra work on my part!

    Thank you for your time and kindest regards

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Basically, the acceptance checkbox form-tags are not designed to be used to feed data into contact list databases. You may want to try using the ordinary checkbox form-tags instead.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Acceptance checkbox returning just “1” to SendinBlue contact attribute.’ is closed to new replies.