I couldn't get a form to redirect after submit using the reDirect Url and reDirect User actions.
I had to use a custom code and
The submit event is very simple, a db save, a custom event switcher and the redirect. I even removed any action, apart from the redirect, to no avail.
The only non standard feature of the form is the url that calls the form.
It has a token parameter and another parameter:
or
Is there a known conflict between the redirect actions and a complex url?
Thank you
maxx
I had to use a custom code and
$mainframe =& JFactory::getApplication();
$url = "http://myurl;
$mainframe->redirect($url);
The submit event is very simple, a db save, a custom event switcher and the redirect. I even removed any action, apart from the redirect, to no avail.
The only non standard feature of the form is the url that calls the form.
It has a token parameter and another parameter:
http://myurl/index.php/component/chronoforms/?chronoform=myform&token=54f081de502a83c2767655ccbab586d2e&myparameter=myvalue
or
http://myurl/index.php/component/chronoforms/?chronoform=myform&token=54f081de502a83c2767655ccbab586d2&event=myformevent
Is there a known conflict between the redirect actions and a complex url?
Thank you
maxx
Hi Maxx,
The ReDirect User action uses more or less the same code as you have. There's nothing to stop it working with complex urls (unless perhaps they get very long.
I'd set up the user without using the SEF part at the beginning. Use the full un-SEF'd version
Bob
The ReDirect User action uses more or less the same code as you have. There's nothing to stop it working with complex urls (unless perhaps they get very long.
I'd set up the user without using the SEF part at the beginning. Use the full un-SEF'd version
http://myurl/index.php?option=com_chronoforms&chronoform=myform&token=54f081de502a83c2767655ccbab586d2&event=myformevent
Bob
This topic is locked and no more replies can be posted.