close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form submits even with validation applied

Thread began 12/08/2010 7:52 pm by elewis93815 | Last modified 12/15/2010 10:19 am by elewis93815 | 1834 views | 5 replies

p.woodall208922

Still getting problems

Originally Said By: Jason Byrnes
  this is the most common problem with forms and validation.

you have the action of the form to post to another page:
<form id="form1" name="form1" method="post" action="gdform.php">

when the form posts, it posts directly to the action page.

all form processing (Including server validation) must occur on the forms action page.  



Jason it would have been very useful if, in the tutorial, the guide and the UTube video, the fact that validation must be actioned from the page the form is situated upon, had been mentioned. Perhaps this amendment could be made as a matter of urgency to prevent your Clients wasting valuable time.

I have now spent over a week following these guides religously only to note I was clearly wasting my time. Critical facts such as this should NOT be overlooked by WebAssist making the erroneous assumption that the Client will know.

That said for many people, myself included, having the action sent to the page that the form is on is of little use. I have a form which is not actioned on the "form" page at all, but rather via an external form processor and my previous validation method was done from an "onsubmit" action on the page the form lay on.

See contact.php

The form processor, is named formail.php, and is important, as it does many other functions not related to field validation at all. (e.g. redirects to a thank you page upon sucessful submission, checks that the form submitted is a valid submission)

If one is to use Form Toolkit we therefore require a facility to relate it to an onsubmit action - (i.e. Client side validation), on the submitted page, so that both our own form processor AND your field validation can work independantly of each other.

Regards

Peter Woodall

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