form not redirecting or sumitting content
Hey Ray
Am trying to get the atatched form to form. Its supposed to redirect to itself for the 'thank you' message and it isnt. Nor is it submitting the entered content and cant fathom why
Cheers
Jamie
Hey Ray
Am trying to get the atatched form to form. Its supposed to redirect to itself for the 'thank you' message and it isnt. Nor is it submitting the entered content and cant fathom why
Cheers
Jamie
You mean it isn't emailing? There is no redirect specified in the email server behavior on this page.
it isnt emailing and it redirecting to itself (or it should be)....
It looks like it isn't passing validation... you are validating a field named "Telephone" but the actual field name is "Tel".
Not sure why that would be... The exact same page is working as expected on a localhost setup...redirects fine on submit. Its also fine on my live test server (see link in PM) where it redirects fine and submits the email but on the live server it doesnt do either
The files are exactly the same and I have double checked that they have uploaded ok a couple of times so am at a loss as to why this is happening.....
On line 14 you have the server validation for telephone:
$WAFV_Errors .= WAValidateRQ((isset($_POST["Telephone"])?$_POST["Telephone"]:"") . "",true,2);
on line 264 you have the input field for telephone number:
<input class="contactText" id="Tel" name="Tel" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("contact","Telephone"):"")); ?>" tabindex="4" title="Please enter your telephone number" placeholder="Telephone" required>
if you update the name of the input field to "Telephone" I think it would all start working properly.
I had already done that but it didnt make any difference. Have just tried that again and still no joy... works fine on the live test server, but still not on the live domain....
still been trying to get this to work (file attached):
localhost - works as expected
live test server - works as expected
live domain - not redirecting nor submitting email
link to live test server is in the PM. I can give you access to the live domain server if you give me your ip
It seems to have worked for me. I filled out the form and it submitted and I got a thank you message. Can you describe exactly how it doesn't work? What happens when you try? What do you expect to happen? I'm missing something.
the site you went to and submitted successfully is on a test server...that has worked fine from day one
its the form on the live domain that is not working as it should. As have said, on that the form does nto submit, nor does it redirect but it is exactly the same as the one on the test server so cannot fathom why it isnt working (and have reuploaded all the files a couple of times) :S
Have added your ip so you can now view the page on the live domain on the link in the PM
EDIT. have also added a DW ste file should you want/need access to the files on the live server
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.