Not Appending URL with Success Message
Hi there,
Previously I have been shown how to get a successful form submission to submit back to itself and display a success message.
This was done by adding
index.php?success=1 as the success URL.
And inserting the code
<?php if(isset($_GET['success']) && $_GET['success'] == "1") { ?>
<h4 class="center" style="margin-top: 20px; margin-bottom: 20px; background: #B8F5B1; color: #000; padding: 15px;"><span style="font-weight: bold;"><em>Your Contact Form Submission was Successful</em></span><em>!</em></h4>
<?php } ?>
As an example.
I have a URL though that is not adding the appended success=1 message.
contact is the URL
When the URL is returned it goes from contact/ to the following
index.php
But it is not appending the ?success=1 message to get the success message to fire.
I am receiving the generated emails with no problem. But my client is not getting the feedback that it has been successfully sent.
Any ideas?
Thanks,
Martin