Buy Now
Sign in

Display message when using Email action

goliath , August 19 2015
Answered
G
goliath
I use a ChronoForm in combination with ChronoConnectivity. One of the options in the form is to email the field values. I use a button to do this. After emailing the form is refreshed. All this works perfectly. But the only thing is that I can't see if I already pushed the mail button. So is it possible to display a message on top of the form after using the Email action? Similar to the green 'Saved successfully' message when you use the DB Save action.
GreyHead
Hi geertmartens,

You can use a Custom Code action after the Email action to add a Joomla system message:
<?php
$app = \JFactory::getApplication();
$app->enqueuemessage('some message');
?>
Joomla! will show this on the next page displayed.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
G
goliath
Hi Bob

Thanks for the answer!
I also found this topic here.

Regards

Geert