I would like to integrate The Acymailing subscription to one or multiple newsletters in my form.
I want that user can check one (or multiple) newsletter(s) in the form and the automatically subscribed to that newsletter list.
How could I do it in CF6?
I want that user can check one (or multiple) newsletter(s) in the form and the automatically subscribed to that newsletter list.
How could I do it in CF6?
Hi deltafidesign ,
I have no idea about CFv6 - I do have an action for CFv5 that will let you handle AcyMailing subscriptions.
Bob
I have no idea about CFv6 - I do have an action for CFv5 that will let you handle AcyMailing subscriptions.
Bob
I already used an action for CFv5 but I cannot make it work for CFv6 because the Event Switcher do not have a code field where I was used to inser the if statement to check if user flagged or not the checkbox.
Maybe you could suggest me something taking a look at this? -> https://www.acyba.com/acymailing/248-acymailing-external-subscription-form.html
Maybe you could suggest me something taking a look at this? -> https://www.acyba.com/acymailing/248-acymailing-external-subscription-form.html
Hi,
Drag a Files > CURL action under the "Events" > "submit" section.
Add this in the URL box:
I think that should work but I didn't test it, you need to replace the 1,2,3 with the lists ids
Best regards,
Max
Drag a Files > CURL action under the "Events" > "submit" section.
Add this in the URL box:
http://www.domain.com/index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=1,2,3&user[name]={data:field_name}&user[email]={data:field_email}
I think that should work but I didn't test it, you need to replace the 1,2,3 with the lists ids
Best regards,
Max
Hi deltafidesign,
I guess that Max has separated out the code box so you run that before the Event Switcher - but I have no idea how to do that or what you out in the Data Provider box :-(
Bob
I guess that Max has separated out the code box so you run that before the Event Switcher - but I have no idea how to do that or what you out in the Data Provider box :-(
Bob
Hi,
In the event switcher data provider add {data:checkbox_name}
In the checkbox ghost value box add 0
In the event switcher events add 1,0 (assuming the value of the checkbox is set to 1)
Now in the "1" event of the event switcher add the curl action as posted above.
Best regards,
Max
In the event switcher data provider add {data:checkbox_name}
In the checkbox ghost value box add 0
In the event switcher events add 1,0 (assuming the value of the checkbox is set to 1)
Now in the "1" event of the event switcher add the curl action as posted above.
Best regards,
Max
It works fine, thanks so much Max!
This topic is locked and no more replies can be posted.