has anyone done some integration to ActiveCampaign with kirby and the uniform plugin? I mean that data is transferred to ActiveCampaign, when for example a newsletter checkbox is set in a website form (created with uniform plugin)?
As I am totally lost right now, I would be happy to hear ideas on that.
From what I can tell, ActiveCampaign provide the form code for you to add to the site. Ive not worked with it before, but if its anything like MailChimp, they will provide a “naked” form for you to apply CSS too. The important bit is where the form posts too, and probably the ID names of all the inputs. If you keep those and tie those into Uniforms server side validation, it should work i guess.
I don’t think it makes sense to mix the service’s form and the Uniform plugin. Those forms are usually meant to send the data directly to the service provider where then information is then stored and the validation is done.
Unless you have reason to store some information locally, I’d use the form provided by the service and let them do the handling (subscribe, unsubscribe etc).
If your form does multiple things that are handled locally for a reason, I’d use Uniform and then use the API to send for example the email address to the service via a custom action.
But, sure, its best to go with what they provide, or go the API route if you want to roll your own.