Working on my second Kirby site. I have been following the cookbook contact form setup. Everything seems to work. Email is sent and received.
Now I am trying to implement a success message.
Since in the Boilerplate the message is already included, how can I echo this out when the message is sent?
// no exception occurred, let's send a success message
if (empty($alert) === true) {
$success = 'Vielen Dank für Ihre Nachricht!';
$data = [];
}
Thank you in advance!