Hi,
In my form a user needs to agree or disagree (Yes/No) and based on that answer the user is redirected to a another form.
I use Custom Code:
In Redirect URL:
Redirect User I leave empty.
After submitting the form I get the error: Form name can NOT be empty!
It seems that the param $formname form the Custom Code is not being transferred to the Redirect URL. Any suggestions?
Robin
In my form a user needs to agree or disagree (Yes/No) and based on that answer the user is redirected to a another form.
I use Custom Code:
if ($_POST['Yes']) {
$formname = 'ABC';
}
if ($_POST['No']) {
$formname = 'DEF';
}
In Redirect URL:
Target URL: index.php?option=com_chronoforms
Params: chronoform={$formname}
Redirect User I leave empty.
After submitting the form I get the error: Form name can NOT be empty!
It seems that the param $formname form the Custom Code is not being transferred to the Redirect URL. Any suggestions?
Robin