• Resolved tiggerkater

    (@tiggerkater)


    hello,

    thanks for your plugin and helping with gdpr!

    i have two questions:

    1) is there a chance to edit the mouseover for the gdpr checkbox? (now something like “has to be checked”) this could be e.g. “check to agree to save data”.

    2) and my second question is regarding to where this plugin stores the value of the checked box in a merged field: i have currently two websites with your plugin implemented. on the first website everthing works fine: without choosing a merged field, the data is stored in the mailchimp gdpr field. in fact, i cannot choose the mailchimp “gdpr” field to store data in.
    on the other site no data is stored in the mailchimp “gdpr” field. i dont understand why. (i could create another custom merge field, but wouldn′t it be better, that i could choose the mailchimp “gdpr” field?)

    thanks for your help, much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @tiggerkater,

    1. You can add attributes using one of our filter functions. For example, this filter function will add a standard HTML title (which appears on hover) with the text “This field is required”

    add_filter( 'yikes-mailchimp-eu-compliance-checkbox-text-html', 'yikes_mailchimp_add_title_to_eu_compliance_paragraph', 10, 1 );
    
    function yikes_mailchimp_add_title_to_eu_compliance_paragraph( $html ) {
    	return str_replace( 'class="yikes-mailchimp-eu-compliance-text"', 'class="yikes-mailchimp-eu-compliance-text" title="This field is required"', $html );
    }

    2. MailChimp does not allow us to integrate with their GDPR fields (i.e. they do not expose the GDPR fields to the API). I don’t think your first list is properly storing the GDPR data in the GDPR Fields. If it is, I’d really like to know how!

    We suggest making a new MERGE field to hold this data. You don’t need to add this field to your form – simply choose it in the drop down and give it a value.

    Let us know if you have any questions.

    Cheers,
    Kevin.

    Thread Starter tiggerkater

    (@tiggerkater)

    thanks kevin,

    i will try your code with the “code snippets” plugin.
    and i double checked with the gdpr field, and you are right. therefor i just setup a new merged field, and the data is stored as it should.

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mouseover checkbox and “Save Checkbox Opt-In as a Merge Field”’ is closed to new replies.