• Resolved Val H.

    (@vigyx)


    Hey,

    First of all, thank you for this amazing plugin. I’ve configured my CF7 forms to tag different forms with different tags. My question is :

    Can I use the “and” operator in $subscriber->tags[] = 'EN'; to add a ‘BG’ tag as well?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Val H.

    (@vigyx)

    One more question (So I don’t open up a new thread)

    I use CF7 for my forms. Is there a way to check if an user is already subscribed and return a different message? I use the checkbox to integrate mc4wp with cf7.

    Thanks!

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @vigyx,

    The value is saved as an array so you can simply duplicate that line to add another tag.

    It’s not possible to know if user is subscribed using CF7 form. This is only possible in the forms created using our plugin.

    Thread Starter Val H.

    (@vigyx)

    Hey,

    Thank you for the reply. Just to make sure, this is one of my else ifs :

       } else if ($cf7_form_id == 249 || $cf7_form_id == 5568 ) {
           $subscriber->tags[] = 'EN'; 

    Adding another tag :

       } else if ($cf7_form_id == 249 || $cf7_form_id == 5568 ) {
           $subscriber->tags[] = 'EN';
           $subscriber->tags[] = 'Purchased'; 

    Is that correct?

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @vigyx,

    Yes, that is correct.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add 2 tags on a single form’ is closed to new replies.