Open benlk opened 8 years ago
Needed for http://jira.inn.org/browse/FE-175
Getting a form automatically from Mailchimp is not possible with their version 2 or version 3 API:
2: https://apidocs.mailchimp.com/api/2.0/#lists-methods 3: http://developer.mailchimp.com/documentation/mailchimp/reference/overview
Depending on the form created, the form may or may not have checkboxes or fields beyond "enter your email address" and the anti-bot field. The anti-bot input
text field has a randomly-generated id
, which needs to be POSTed on the form submit. If the form has checkboxes, the checkbox input
elements have id
s that are randomly generated. We can't predict those from the submit UR.
There are a couple of ways to make this work:
.widget
that would allow Largo to ship default styles.Option #2 + we recommend a "typical" form arrangement and give people instructions on how to set that up in MailChimp.
Also, you're way overthinking this. We are consistently using MailChimp forms on a number of sites. All I want to do is pave that cowpath so we're not replicating the same code across all of these sites.
The default should basically just be a form that has a box for an email address and a signup button. If people want to do something more custom then they'd be extending the widget with additional fields.
what's left on this?
https://github.com/INN/Largo/pull/1185 is the open PR; it needs to be updated with the latest develop and then needs review.
id
, and docs on how to find that in generated formFor Helpdesk-531 and part of #1038