close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

form not redirecting or sumitting content

Thread began 5/07/2015 11:57 am by Jamie | Last modified 5/13/2015 12:56 pm by Ray Borduin | 620 views | 13 replies |

Jamie

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

Sign in to reply to this post

Ray BorduinWebAssist

You mean it isn't emailing? There is no redirect specified in the email server behavior on this page.

Sign in to reply to this post

Jamie

it isnt emailing and it redirecting to itself (or it should be)....

Sign in to reply to this post

Ray BorduinWebAssist

It looks like it isn't passing validation... you are validating a field named "Telephone" but the actual field name is "Tel".

Sign in to reply to this post

Jamie

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.....

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

Jamie

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....

Sign in to reply to this post

Jamie

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

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

Jamie

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

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...