• Resolved blazmate

    (@blazmate)


    I have a checkbox field on MC

    In MC4WP form builder I get this code

      <input name="INTERESTS[code][]" type="checkbox" value="afeawfuwheaui"
            checked="true">

    how do I change it to a hidden field?

    My existing form has
    <input type="hidden" name="mc4wp-INTERESTS[code]" value="fieldname">

    No idea how I set this up.

    Do I just put fieldname to whatever text I have on MC site?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Lap

    (@lapzor)

    <input name="INTERESTS[code][]" type="hidden" value="afeawfuwheaui">

    Hope that helps. If you have any questions, please let me know!

    Thread Starter blazmate

    (@blazmate)

    How do I test these, because I can’t use my email if I’m sub/unusb before, and then I get spam checked, etc

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @blazmate,

    Instead of sub/unsub, you can enable the “Update existing users” option in our form settings. If you are not able to test again using your existing email, then first add it to your MailChimp.com Audience/List manually and then test it again.

    Thread Starter blazmate

    (@blazmate)

    How do I use this in a CF7 form?
    Usinv v5.3.2 because 5.4 has huge problemrs.

    I’m going into Edit Form in mc4wp? From the Interest categories can I generate the fields I need to put in CF7?

    eg your edit shows

    <input type="hidden" name="INTERESTS[511f]" value="Lead|Warm|Client|No Offers">
    <p>
        <label>Interest Type</label>
        <select name="INTERESTS[145b]">
            <option value="6777" selected="true">aaa</option>
            <option value="4d99">bbb</option>
            <option value="1bf2">ccc</option>
        </select>
    </p>

    so I put

    <input type="hidden" name="mc4wp-INTERESTS[145b]" value="6777">
    <input type="hidden" name="mc4wp-INTERESTS[511f]" value="Lead">
    
    [mc4wp_checkbox]

    It doesn’t sign up to MC

    • This reply was modified 3 years, 8 months ago by blazmate.
    • This reply was modified 3 years, 8 months ago by blazmate.
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @blazmate,

    Can you please share a link where you have placed this form?

    Also, please go to the “MC4WP > Others” menu in WordPress and share with us any errors listed there.

    Thread Starter blazmate

    (@blazmate)

    I got it

    [2021-03-20 11:12:27] ERROR: Contact Form 7 > Mailchimp API Error: Bad Request. Forgotten Email Not Subscribed. **@*******.com was permanently deleted and cannot be re-imported. The contact must re-subscribe to get back on the list.

    What does this mean?

    Thread Starter blazmate

    (@blazmate)

    So I signed up. I permanently deleted my email from MC list ages ago.

    Then I try to sign up again. Because I use this in a CF7 form
    [mc4wp_checkbox]

    Then does it use the settins in Contact Form 7 integration?

    Then I ask Update existing subscribers breaks it?

    But if I turn off Update existing subscribers you’ll add new copies of same people?

    I found the same issue from others
    https://www.ads-software.com/support/topic/update-existing-subscribers-not-working/
    https://www.ads-software.com/support/topic/contact-form-7-not-updating-existing-subscribers/
    https://www.ads-software.com/support/topic/update-existing-subscribers-is-on-but-not-working/

    Like them, I have different forms, each may set 1 interest.

    • This reply was modified 3 years, 8 months ago by blazmate.
    • This reply was modified 3 years, 8 months ago by blazmate.
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @blazmate,

    The error was returned by MailChimp.com. MailChimp does not allow adding subscribers if they were manually deleted or unsubscribed. You will first need to add that email address manually to your MailChimp Audience/List before testing again using our form/integration.

    When you enable “Update existing users” it does not add a copy since the email address is the unique field. What this feature does it update other details such as name, interest groups if any.

    Thread Starter blazmate

    (@blazmate)

    Yes, so I wonder what settings I should really use

    I have different forms, each may set 1 interest.

    how do I deal with test users?

    How do I find out ‘subscribers if they were manually deleted or unsubscribed’ so I can add them manually?

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @blazmate,

    We do not have any feature to notify you if a user has unsubscribed or deleted it. Also, if a user has unsubscribed, I won’t recommend adding them manually yourself. This you should do only for your test email.

    The code you had shared (below) is correct.
    <input type="hidden" name="mc4wp-INTERESTS[511f]" value="Lead">

    As I mentioned earlier, add your email address to MailChimp manually, then enable “Update Existing subscriber” option and test again.

    Thread Starter blazmate

    (@blazmate)

    No that is exactly the problem. I have deleted some users before instead of unsubscribing them. That means these users can never subscribe again.

    What’s worse is that user tries to send the form that cannot send the message at all and they don’t get any error message

    It seems even if we don’t check the box for signing up

    • This reply was modified 3 years, 8 months ago by blazmate.
    Plugin Contributor Lap

    (@lapzor)

    Hi, that last part surprises me… they should not be able to subscribe to Mailchimp but the CF7 form should still be able to submit either way. What error shows exactly?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Don’t understand how to set fields’ is closed to new replies.