Forums

Conditions (IF...ELSE...ENDIF)

pahe 09 Apr, 2012
Hi.
I am not sure if this is possible in the Form Wizard or needs some extra coding.
I am using AcyMailing and cURL[GH]. Works fine.
The user can choose if he wants a Newsletter or not (yes/no).
Now, the cURL[GH] only should run if the user choose "yes" in the contact form.
Is there any IF....ENDIF possibility?
Thank you for any help.
pahe
GreyHead 10 Apr, 2012
Hi pahe,

I have an 'Event Switcher [GH]' action that lets you use PHP to switch between actions - or run different actions depending on the form results.

Bob
pahe 10 Apr, 2012
thank you very much Bob.
There is a problem with the download.
inside the ZIP file is only event_switcher_gh.ctp.
Ensman 11 Apr, 2012
This is just what I need, but I'm having problems with the zip file also.
GreyHead 12 Apr, 2012
Hi Ensman and Pahe,

The zip file is fine here. I do know that Macs have some problems with zip files containing folders.

Fortunately you don't need to unzip the file, just use the Install Action icon in the ChronoForms Forms Manager toolbar to install it - up load the zip file and click 'submit file'. You'll find the action in a new '[GH] Custom actions' group in the Actions list.

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