Curl parameters? opt in subscribe

buffy 18 Jul, 2012
I know there have been a few posts similar to my question but i can't find an answer for me.

I am using Joomla 2.5, Chronoforms V4 and ACY Mailing 3.8.0

So, in my form I have created a radio field for users to select to subscribe to newsletter (or not). so 2 simple choices: 'yes' and 'no'. If they select 'yes' they should be added to the ACY Mailing list. ('No' is ignored).

My question is, how do i tell the Curl action that 'yes' from the 'subscribe' radio field is the one that creates the opt in to add to the mailing list?

I am using Chronoforms V4 and in the Curl parameters i currently have this:

user[user]={NAME}
user[email]={EMAIL}
ctrl=sub
task=optin
hiddenlists=1

I am not very fluent in coding so I don't know what to look for (or understand) but it seems something is missing? I have followed the ACY Mailing instructions and the URL subscribe works fine. Any advice would be much appreciated.
buffy 18 Jul, 2012
I addition to my post above, I used to be able to do the opt in subscribe with Chronoforms V3 & ACY Mailing; with V3 in the Curl 'General' tab there was a list of 'field names from your form' and next to the relevant field I added 'hiddenlists'. that seemed to make the whole thing come together and work (as well as the items in the parameters which is the same as the above post).
But on V4 I can't find anywhere to select the field in question to add 'hiddenlists' next to it.
I guess I'm missing something.
any help would be greatly appreciated. thanks in advance
GreyHead 22 Jul, 2012
Hi buffy,

You can use my Event Switcher [GH] action to set up a Conditional subscription.

The standard CFv4 cURL action doesn't support the {} syntax. It only takes input names so any static values have to be added to the $form->data array to make them available. Because of this I recommend that you use my cURL [GH] action that does use the {} syntax.

If you do that you can add something like hiddenlists=2,4 to set the values you need.

Bob
This topic is locked and no more replies can be posted.