Streaming live at 10am (PST)

Webflow CMS item for form text field issue with Mailchimp

Hi,

I’ve integrated Webflow’s native form with Mailchimp and everything worked well; Webflow’s text field’s ID and Name matching up with the Mailchimp’s equivalents and subscribers were being created in the contact list on submit. That was, however, until our sales guys wanted a field added that could only be obtained by putting the form inside a cms collection.

I added an embed component inside the form and added the following:

When I change the input type from hidden to text, I can see the name from the CMS being shown in the form so I know the embedded code works well. Changing it back to hidden, the form posts, I see the success view but the cms item does not get into Mailchimp. It’s blank.

Here’s my Mailchimp view for that Domain field:

Can anyone help me please?


Here is my site Read-Only: https://preview.webflow.com/preview/krm22?utm_medium=preview_link&utm_source=designer&utm_content=krm22&preview=e018f0b57750628c9b3deee819df5ef6&pageId=5ef5aee58cb0406363367f0c&itemId=5ef5aee58cb040e150367f59&mode=preview

Note, I’ve tried the name and domain in the right capitalised case (to match Mailchimp) and have tried the CMS item (Name) in single and double quotes

Fixed it. I had copied and pasted a form that was working and didn’t realise that the field names had had a -2 appended to them. Plus I think the values in the code need double speechmarks instead of single ones.