Do you think that is possible to have a variable URL for redirect action?
...without using custom code...
...without using custom code...
<?php
if ( !empty($form->data['radio1'] ) ) {
$url = 'http://'.$form->data['radio1'];
$form->actions_config[3]['url'] = $url;
}
?>
The important line is the $form->actions line. you need to replace the 3 there with the action ID of the ReDirect action 0 it's the number that shows up in the Setup Tab.
$url_paypal_redirect = JUri::root() . 'index.php?option=com_chronoforms5&chronoform=MYFORM&event=ipn';
$form->actions_config[xxx]['return'] = $url_paypal_redirect ;