close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Server validation not checking errors

Thread began 6/20/2016 2:20 pm by mrs | Last modified 2/28/2017 11:14 pm by mrs | 1402 views | 8 replies

mrs

Server validation not checking errors

I've got a contact form on a page and the code I am checking validation with is on the same page as once it is validated, I want to enter the form contents into my DB, then email the contents of the form, however, the validation isn't working when I purposely make errors in data entry. I am checking email and captcha form fields.

I have got the validation code on the page being submitted (bike-enquiry.php) and I have left the 'Failed redirect' blank because the form and validation are on the same page.

I have two Validation show ifs (one for email, one for captcha) and the validation page is set as bike-enquiry.php.

My form action is set to bike-enquiry-thanks.php with a method of post and an id of enquiry.

I don't know why it's not working with this all on the one page!

What am I missing? I've attached the page in question for you to check for errors if you need to.

Thanks.

Attached Files
bike-enquiry.php

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