Forums

Timed Redirect

hotstepperk 28 Oct, 2010
Hello good people.

My question is simple. Is there a way you can have a timed redirect once someone has finished creating the form? I'd like to put up a brief submission message and then after 15 sec or so it redirects to the homepage.

Any help will be highly appreciated.
GreyHead 28 Oct, 2010
Hi hotstepperk,

From page 153 of The ChronoForms Book
<div>Thanks for submitting the form, we will redirect you in 5 seconds.</div>
<?php
$doc =& JFactory::getDocument();
$doc->setMetaData('refresh', '5;index.php', 'true');
?>

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}