Page 1 of 1

SmartForms and Mailchimp API

Posted: Wed Mar 26, 2025 10:07 am
by CoryRamsey
Hello everyone,

Has anyone used these together ... and can give me any pointers?

Is there a way of processing parts of a SmartForm from so that the Mailchimp API is called and values are sent? Not sure if its possible in SmartForms ... would need to be some kind of handler in SmartForm where I can process PHP I assume, but I can't see a way of doing that...

Any guidance appreciated !

Re: SmartForms and Mailchimp API

Posted: Wed Mar 26, 2025 3:34 pm
by DIGI3
In the SmartForms Hanlders, add "Stop processing dispositions based on a condition", you can then add your UDT in there.
e. g.

Code: Select all

{if $subscribe=='checked'}{myMailChimpUDT address=$email name=$name group=mygroup}{/if}