Hi,
The redirect element doesn't work in Wordpress.. I put the redirect element at the end of the setup page (but before the debugger), but it doesn't redirect.. It just adds "?chronoform=FORM_NAME&event=submit" to the URL.
Also I'm unable to get the Debugger to show me the debug info so I have no idea what is the problem, I have it activated for the yellow form on this page:
http://profesionalonline.com/cursos/cursos-tic/networking/instalador-cisco-ccna-routing-y-switching/
Could you help me out?
The redirect element doesn't work in Wordpress.. I put the redirect element at the end of the setup page (but before the debugger), but it doesn't redirect.. It just adds "?chronoform=FORM_NAME&event=submit" to the URL.
Also I'm unable to get the Debugger to show me the debug info so I have no idea what is the problem, I have it activated for the yellow form on this page:
http://profesionalonline.com/cursos/cursos-tic/networking/instalador-cisco-ccna-routing-y-switching/
Could you help me out?
I have the same problem and I hope somebody will answer here. It is really a complicated thing and I can't solve it. In my situation the WP version is earlier, but it is impossible to do something too
I don't know if this is the best way to solve this redirect problem, but I came up with a solution.. Setting the redirect from the .htaccess depending on the submit event.
I guess it will work for earlier Wordpress versions as well.
What you'll have to do:
1. Open the .htaccess file which is located at the root of your server (via a FTP program like Filezilla).
2. Add after the last line these 3 lines:
RewriteRule event=submit "THE_REDIRECT_URL" [R,L]
RewriteCond %{QUERY_STRING} event=submit
RewriteRule .? "THE_REDIRECT_URL" [R,L]
3. Change THE_REDIRECT_URL with the absolute URL to which you want your users to redirect when the submit event occurs.
This code will be searching for the words "event=submit" in the URL, and if exists, it will redirect the user to the URL indicated.
The default submit event for Chronoforms is "submit", but if you changed this while building the form you'll have to change the lines of code accordingly.
Make sure to take a backup before altering the .htaccess file but I wouldn't expect any problems.. Any problems caused should be easily solved by removing these 3 lines of code again.
Hope it helps!
I guess it will work for earlier Wordpress versions as well.
What you'll have to do:
1. Open the .htaccess file which is located at the root of your server (via a FTP program like Filezilla).
2. Add after the last line these 3 lines:
RewriteRule event=submit "THE_REDIRECT_URL" [R,L]
RewriteCond %{QUERY_STRING} event=submit
RewriteRule .? "THE_REDIRECT_URL" [R,L]
3. Change THE_REDIRECT_URL with the absolute URL to which you want your users to redirect when the submit event occurs.
This code will be searching for the words "event=submit" in the URL, and if exists, it will redirect the user to the URL indicated.
The default submit event for Chronoforms is "submit", but if you changed this while building the form you'll have to change the lines of code accordingly.
Make sure to take a backup before altering the .htaccess file but I wouldn't expect any problems.. Any problems caused should be easily solved by removing these 3 lines of code again.
Hope it helps!
Forget to mention: If you use this method, you won't have to use any custom code or the Redirect module in the "Setup" tab.
I was a little too fast sharing this, the redirect happens so fast that the data isn't saved to DB..
So the redirect is working, but the On Submit events aren't executed
Any help is appreciated..
So the redirect is working, but the On Submit events aren't executed
Any help is appreciated..
Hi jorgve,
ChronoForms runs the actions in the order they are in the event so the ReDirect Action needs to be the last one as anything after it will not be run.
Bob
ChronoForms runs the actions in the order they are in the event so the ReDirect Action needs to be the last one as anything after it will not be run.
Bob
:(
We are having the same issue with redirect not working in WordPress. I was hopeful when clicking on this thread since it was labeled as "Solved" but the solution isn't going to work for us.
Any ideas how to fix this issue without having to use the .htaccess file?
Thanks.
We are having the same issue with redirect not working in WordPress. I was hopeful when clicking on this thread since it was labeled as "Solved" but the solution isn't going to work for us.
Any ideas how to fix this issue without having to use the .htaccess file?
Thanks.
I can't get redirect working in Chronoforms for Wordpress either. Is this a known issue? Is there a workaround other than the .htaccess one suggested?
This thread seems to suggest that it did work at one time. I've followed the advice given in the linked thread but I'm tired of wasting time if this just isn't going to work. Can anyone confirm?
Thanks,
Mike
This thread seems to suggest that it did work at one time. I've followed the advice given in the linked thread but I'm tired of wasting time if this just isn't going to work. Can anyone confirm?
Thanks,
Mike
This topic is locked and no more replies can be posted.