I have an urgent problem!
I had ChronoForms V.3.0stable installed with an extra option that the Name- & Email-Data will be transfered after submission to the Acajoom Autoresponder. You helped me there by telling me to put that code into the "Form Code"-Area under "On Submit code - after sending email":
This code will be ignored totally after submission. If I put Debug-Mode ON I can see no errors.
The Thank-You-Site will be displayed like programmed into "On Submit code - before sending email:":
Please HELP!
I had ChronoForms V.3.0stable installed with an extra option that the Name- & Email-Data will be transfered after submission to the Acajoom Autoresponder. You helped me there by telling me to put that code into the "Form Code"-Area under "On Submit code - after sending email":
<?php
$name = JRequest::getVar('name', '', 'post');
$email = JRequest::getVar('email', '', 'post');
$url = "http://www.rohrconsulting.at/";
$url .= "index.php?option=com_acajoom&act=subscribe";
$url .= "&name=$name";
$url .= "&email=$email";
$url .= "&receive_html=1";
$url .= "&listid=1";
$url .= "&redirectlink=danke.html";
if ( $debug ) {
echo "url: ";print_r($url);echo "<br />";
echo "<br /><a href='$url'>Hier klicken um Fortzufahren</a><br />";
} else {
$rows[0]->redirecturl = $url;
}
?>
This code will be ignored totally after submission. If I put Debug-Mode ON I can see no errors.
The Thank-You-Site will be displayed like programmed into "On Submit code - before sending email:":
<p> </p>
<h4 align="center">Danke für Ihr Interesse an unserem Angebot.<br />
Wir werden Ihnen in Kürze Informationen zukommen lassen.</h4><br />
<p align="center">Mit freundlichen Grüßen!</p>
Please HELP!
Hi solidrock,
did you upgrade Chronoforms recently ? if yes then the code will stop working and need a slight update!
Max
did you upgrade Chronoforms recently ? if yes then the code will stop working and need a slight update!
Max
Hi Max,
I upgraded today (component, module and plugin). Can you give me advice how to change the code? I have no clue what to do or what to change?!
I upgraded today (component, module and plugin). Can you give me advice how to change the code? I have no clue what to do or what to change?!
Hi solidrock,
did you upgrade Chronoforms recently ? if yes then the code will stop working and need a slight update!
Max
What do you mean with slight update? What do we need to do?
Hi solidrock,
please change $rows[0] to $Myform->formrow
Regards,
Max
please change $rows[0] to $Myform->formrow
Regards,
Max
I changed the code now to
but nothing happend!
Do I have to change something else that the area "On Submit code - after sending email:" will be recognized again?
<?php
$name = JRequest::getVar('name', '', 'post');
$email = JRequest::getVar('email', '', 'post');
$url = "http://www.rohrconsulting.at/";
$url .= "index.php?option=com_acajoom&act=subscribe";
$url .= "&name=$name";
$url .= "&email=$email";
$url .= "&receive_html=1";
$url .= "&listid=1";
$url .= "&redirectlink=danke.html";
if ( $debug ) {
echo "url: ";print_r($url);echo "<br />";
echo "<br /><a href='$url'>Hier klicken um Fortzufahren</a><br />";
} else {
$Myform->formrow = $url;
}
?>
but nothing happend!
Do I have to change something else that the area "On Submit code - after sending email:" will be recognized again?
Hi solidrock,
its was
so after the change I pointed it should be:
Regards
Max
its was
$rows[0]->redirecturl
so after the change I pointed it should be:
$MyForm->formrow->redirecturl
Regards
Max
This topic is locked and no more replies can be posted.