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

Client and Server side means Validating twice.

Thread began 6/21/2012 8:34 pm by webVoodoo | Last modified 6/22/2012 10:45 am by webVoodoo | 577 views | 1 replies


Client and Server side means Validating twice.


I made a registration page using Data Bridge 1.0.4 (just noticed 1.0.5 was released yesterday) with text, menu, checkboxes and radio group fields. I also added a re-enter email field to verify the emails match. Both email and re-enter email fields had email validations added in the wizard. After creating the form, I added a Like Entry validation to the re-enter email field for the match. This all works.

On testing, I notice that the client side Spry validations have to pass before the form is sent to the server for server side validations.

Looking at the form it seems that all validating fields are Spry except for the radio buttons and the Like Entry which are validated server side - as they're not included in the list of Spry.Widget.ValidationTextField variables right at the bottom of the page.

To me, this means that if an applicant fails one of the client Spry validations and also fails a radio button or email Like Entry, they will only see the failed validation notices for the client side validations because the form hasn't yet been sent to the server. Only when all the Spry validations pass is the form sent to the server and server side validation failures are seen by the applicant.

This means the applicant doesn't see any server validation failures until all client validations are cleared first. This means that the submit button may have to be clicked twice, once to see all the client side failures and once they are passed, again to see any server side failures.

Is it possible to have all validations client side so that all validation failure warning can be seen at once? Or alternatively, all server side (probably not as secure as client side validation).

Am I understanding this correctly?

Any help greatly appreciated.
Paul Gilbert

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





Ease of use


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