• Resolved siddheshsj

    (@siddheshsj)


    Hi ,

    I was trying to use the code below:( which is provided in custom integration section)
    <p>
    <label>
    <input type=”checkbox” name=”mc4wp-subscribe” value=”1″ />
    Subscribe to our newsletter. </label>
    </p>

    With another plugin’s form.

    Issue: When i submit the form with checkbox field to be set , email is not send to email-id provided in that form.
    So, do i need to set the form’s email field’s attribute name as that one which you provided in default form??
    or
    Any other solution?? What changes i need to do??

    Thanks in advance

    Siddhesh

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Siddhesh,

    Please make sure to name the form fields similar to the field names in your MailChimp list and also prefix them with “mc4wp-“. Also, please check if your custom form uses WordPress default mechanism to submit and process form.

    Thread Starter siddheshsj

    (@siddheshsj)

    Hi Harish,

    My custom form email field code:
    <input id=”wpmtst_email” type=”email” class=”text email” name=”email” value=”” tabindex=”0″>

    Does it require to prefix with “mc4wp-” i.e. name=”mc4wp-email” ??

    Also how the request will be made to your server when form is submitted??
    Since submit button:
    <input type=”submit” id=”wpmtst_submit_testimonial” name=”wpmtst_submit_testimonial” value=”Add Testimonial” class=”button” tabindex=”0″>

    Plugin Contributor Lap

    (@lapzor)

    Hi,

    Did you activated the integration under MailChimp for WP > Integrations > Custom?

    Do you have double opt-in turned ON in that screen? MailChimp will only send final welcome email to contacts that are double opt in as per their latest policy.

    I would *think* that our plugin will capture this email, putting mc4wp- in front of a field name makes 100% sure our integration will pick it up.

    You can turn on Debug logging on the “Other” page of our plugin and see if there is any message after submitting the custom form? It can even be a required field missing or the testing email might be banned for signing up too many times.

    Hope that helps,

    Thread Starter siddheshsj

    (@siddheshsj)

    Hi,
    Custom field integration is active . Also double opt-in is on.

    But now i’m trying to submit 2 forms
    — One is my custom form
    — 2nd mailchimp default form
    Before 1st form(custom) get submit, i have written script to submit mailchimp form
    and it works fine( email is received) when i prevent submission of custom form.

    My question is if i want to submit both forms, do i need to put delay between the 2??
    or any other method??

    • This reply was modified 7 years, 8 months ago by siddheshsj.
    • This reply was modified 7 years, 8 months ago by siddheshsj.
    Plugin Contributor Lap

    (@lapzor)

    You should not need two forms if you use our custom integration. But you do need to include the “checkbox” to signup for the newsletter into your custom form. You can make that a hidden field if it’s implicit.

    Please see: https://kb.mc4wp.com/add-sign-checkbox-custom-form/

    If you already included that and it’s still not working the first place to check is the log via MailChimp for WP > Other in your wp-admin.

    Please post a link to your page where we can test the form if you need more help.

    Thank you!

    Thread Starter siddheshsj

    (@siddheshsj)

    Hi,

    Thanks for your help. Much appreciate it
    I managed to solve the issue with single form as you said.

    Just a suggestion:
    Please make documentation for custom integration much clear as there are some hidden fields which are need to be pass along with form like form-id , form attributes while form submission.

    Plugin Contributor Lap

    (@lapzor)

    Thanks for letting us know. Glad to hear it is working for you now.

    For any readers who are looking for documentation on custom integration, please see:
    https://kb.mc4wp.com/available-integrations/
    https://kb.mc4wp.com/add-sign-checkbox-custom-form/

    Hope that helps!

    I have marked this topic as resolved. If you have a similar issue, please open a NEW topic. Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Integration with custom form of another plugin’ is closed to new replies.