url redirect not working with Framework Builder
Hi everyone,
I'm using Framework Builder together with CSS Form Builder and Universal Email 4. I've inserted the form into a separate php page and then included it on a contact page using Framework Builder. I then ran Universal Email 4 to get it functioning.
In the Universal Email wizard I set the goto page field to:
contact.php?sent=true
And then on my contact page I have the following code:
<?php if(isset($_GET['sent']) && $_GET['sent'] == "true") { ?> <p id="confirm" style="background-color: #00274c; color: #fff; height: 30px; line-height: 30px; padding-left: 10px; margin-bottom: 15px;"> <strong>Thank you for your enquiry. We will be in contact as soon as possible. </strong></p><?php } ?>
The above code is located just above the include code as follows:
<?php echo((isset($WA_contact_form_1))?$WA_contact_form_1->Body:"") ?>
When I test the form, all the information gets emailed but instead of displaying the div, I get a page with the following on it:
"404 Not Found
The requested URL was not found on this server"
and the following is what's in the url:
contact.php?sent=true
It seems that it's looking for contact.php?sent=true in the plugins directory which is where the include is located, but the code is actually on my contact page because that's where I need the message to appear.
I'm not sure how to get around this and wondered if someone could provide some advice?
Thanks in advance.