How do I display a 'Thank you' page?
Written by Bob Janes

There are two main ways to show a 'Thank you' page after a form is submitted.

If you have another Joomla page that you want to redirect users to then you can put the URL in the Redirect URL field on the Form URLs tab. In practice you can put any valid URL in here.

If there is no entry in this field then ChronoForms will display the form page with no content (that is the same URL but the form will not display). You can display a Thank you message on this page by putting the code into the On Submit code - after sending email field on the Form Code tab. You can include html and PHP code here and can include values from the submitted form by using <?php echo $_POST['fieldname'] ?>

To show a Thank You page and then redirect please you can use code like this in the 'On Submit after email' box:

<?php
global $mainframe;

$custom_tag = '<meta http-equiv="refresh" content="5; url=http://www.example.com" >';
$mainframe->addCustomHeadTag($custom_tag);
?>
<p>Thank You.</p>
<p>Add your text for the thank you page here.</p>
78,13% of 64 voters found this FAQ useful,  I found this FAQ  useful useful  not useful not useful

Powered by EasyFAQ © 2006 Joomla-addons.org


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials