Hello,
I have this scenario:
one form with two choices:
If i choice the 1st radio button then open/redirect the form1
If i choice the 2nd radio button then open/redirect the form2
How can I do this? please write some example
Thanks
Clovis
I have this scenario:
one form with two choices:
If i choice the 1st radio button then open/redirect the form1
If i choice the 2nd radio button then open/redirect the form2
How can I do this? please write some example
Thanks
Clovis
Hi Clovis,
in the onsubmit after email code box something like:
Cheers
Max
in the onsubmit after email code box something like:
<?php
if(JRequest::getVar('check_1'))
$MyForm->formrow->redirecturl = '1st url here';
if(JRequest::getVar('check_2'))
$MyForm->formrow->redirecturl = '2nd url here';
Cheers
Max
Hi max, your solution works like a charm. Thank You
Now i Need another situation: How do I run an diferent event based in radio button?
Example If radio option 1 is selected run on submit event but if radio option 2 is selected i want to run another submit event where have another email, db save and others actions
Is that possible? to have differents submit events? I using CF v4 RC 3.0
Now i Need another situation: How do I run an diferent event based in radio button?
Example If radio option 1 is selected run on submit event but if radio option 2 is selected i want to run another submit event where have another email, db save and others actions
Is that possible? to have differents submit events? I using CF v4 RC 3.0
Hi Clovis,
This is a very old thread and Max's solution was probably for CFv3. Please see this FAQ
Bob
This is a very old thread and Max's solution was probably for CFv3. Please see this FAQ
Bob
Hello Bob, I check the faq, downloaded the custom action. Thankyou.
But do you have a how-to use CFv4 Event Switcher [GH] action? an simple example for dummies?
Regards
Clovis
But do you have a how-to use CFv4 Event Switcher [GH] action? an simple example for dummies?
Regards
Clovis
This topic is locked and no more replies can be posted.
