Hi guys,
A client is worried that the confirmation message might be missed due to the design of the website.
He would prefer if the confirmation message was popped up in a light box.
Is there anything built into Chronoforms to perform this task.
I have taken a look around and cant see anything and also searched on the forums but to no avail.
Any ideas how to go about this?
Cheers
A client is worried that the confirmation message might be missed due to the design of the website.
He would prefer if the confirmation message was popped up in a light box.
Is there anything built into Chronoforms to perform this task.
I have taken a look around and cant see anything and also searched on the forums but to no avail.
Any ideas how to go about this?
Cheers
Hi dr.pepper,
You can use a System message easily enough (one of those blue messages that Joomla! creates). I'm not sure about triggering a modal window when a page loads though I guess it must be possible with a little JavaScript.
Bob
You can use a System message easily enough (one of those blue messages that Joomla! creates). I'm not sure about triggering a modal window when a page loads though I guess it must be possible with a little JavaScript.
Bob
the confirmation message might be missed due to the design of the website
You can set up your confirmation message so that the page scrolls directly to the relevant div id like this:
<?php
$document = JFactory::getDocument();
$js = "
window.addEvent('domready', function() {
document.getElementById('thanks-message').scrollIntoView();
});
";
$document->addScriptDeclaration($js);
?>
<div id="thanks-message">
<h2>Thank you for your interest.</h2>
<p>Your inquiry has been submitted and we will be in contact soon.</p>
</div>
which is probably simpler than a lightbox window.
If you have your heart set on a lightbox, maybe try the "Modals" plug-in from NoNumber. Basic functionality is free.
Neil.
This topic is locked and no more replies can be posted.