Hello,
I need to redirect on successful submit and display a success message at the targeted page. I can't find a way to do this.
I can redirect, I can display a message but I can't display a message at the targeted page.
Any idea?
I need to redirect on successful submit and display a success message at the targeted page. I can't find a way to do this.
I can redirect, I can display a message but I can't display a message at the targeted page.
Any idea?
Hello dtws2008,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I show a Thanks Message then redirect the user?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I show a Thanks Message then redirect the user?
P.S: I'm just an automated service😉
Hi dtws2008,
You can use the Joomla! methods to display a message on the new page. Instead of the ReDirect action add a Custom Code action with code like this
Bob
You can use the Joomla! methods to display a message on the new page. Instead of the ReDirect action add a Custom Code action with code like this
<?php
$app = \JFactory::getApplication();
$app->enqueueMessage('Some message here');
$app->redirect('/index.php?. . .);
?>
Bob
Thanks bob!
two problems:
1. I have to insert the full url (http://.......), instead the relative one.
2. It is a system message. I need to display a formatted message at a template location.
two problems:
1. I have to insert the full url (http://.......), instead the relative one.
2. It is a system message. I need to display a formatted message at a template location.
Hi dtws2008,
There isn't any simple way for ChronoForms to control the content on another page and you probably don't want to include the message in a URL.
One solution might be to save the message to the User session in the form - then add a little ChronoForm (or some custom PHP) in the template location that checks the session for a message and displays it if one is found.
Bob
There isn't any simple way for ChronoForms to control the content on another page and you probably don't want to include the message in a URL.
One solution might be to save the message to the User session in the form - then add a little ChronoForm (or some custom PHP) in the template location that checks the session for a message and displays it if one is found.
Bob
This topic is locked and no more replies can be posted.
