Hi,
I'm using ChronoForm V4 and i'm trying to redirect the user to another page after submit. But I don't know how.
In Advanced Mode, I tried to use the Redirect User in the On Submit Event (after email and db save) but it don't work. When I submit the form, he returns me to the same page I was, but the form had disapear.
Do I have to download a plugin or something ?!
Help!
I'm using ChronoForm V4 and i'm trying to redirect the user to another page after submit. But I don't know how.
In Advanced Mode, I tried to use the Redirect User in the On Submit Event (after email and db save) but it don't work. When I submit the form, he returns me to the same page I was, but the form had disapear.
Do I have to download a plugin or something ?!
Help!
Hi nitromedia ,
ReDirect User is the correct action. What have you got in the Target URL box?
Bob
Bob
ReDirect User is the correct action. What have you got in the Target URL box?
Bob
Bob
A complete URL to another joomla page
http://www.mydomain.qc.ca/subdomain/index.php?option=com_content&view=article&id=16&Itemid=3
http://www.mydomain.qc.ca/subdomain/index.php?option=com_content&view=article&id=16&Itemid=3
Hi nitromedia,
Should be OK. I wonder if the form isn't submitting correctly at all??
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
Should be OK. I wonder if the form isn't submitting correctly at all??
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
The form seems to be working, the data are saved in the database and i'm receiving the email.
Could it be an PHP issue ?
Could it be an PHP issue ?
I have another question.
How do I hide the empty field in the email template ?
Example {input_checkbox_1}
How do I hide the empty field in the email template ?
Example {input_checkbox_1}
Hi nitromedia,
You use a Custom Code action to set a default (null) value.
Bob
You use a Custom Code action to set a default (null) value.
<?php
if ( !$form->data['input_checkbox_1'] ) {
$form->data['input_checkbox_1'] = '';
}
?>
Bob
Works like a charm, thanks a lot Bob!!
Back to the first problem, Redirect.
In fact i don't know if it could help but when I hit Submit, chronoform reload me the same page i was on, but with the &event=submit parameter in the URL.
Could it mean something ?
Back to the first problem, Redirect.
In fact i don't know if it could help but when I hit Submit, chronoform reload me the same page i was on, but with the &event=submit parameter in the URL.
Could it mean something ?
This topic is locked and no more replies can be posted.