Show region if url parameter exists
Hi, I would like to show an area on my page if a parameter exists in the address bar, and hide another area.
I have an enquiry form on the index.php page, and when the form is submitted, it submits to the same page (index.php) and universal email sends the contents of the form to an email address.
I dont want to create a thankyou.php page, but instead show a thankyou region and hide the form once submitted.
My url would show something like:
Then the div containing the form elements would be hidden, and the div containing the thank you message would be displayed.
Is this possible?