close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Client Validation

Thread began 5/16/2012 10:54 pm by surfbouy | Last modified 7/12/2012 9:43 am by Jason Byrnes | 1048 views | 5 replies |

surfbouyBeta Tester

Client Validation

I have a form built by creating a table then I have used universal email to send email etc.
Form works fine and has done for ever.
Using form builder i have added client validation to ensure that the email etc are required.
This is not working. It just processes the form without the info that validation says must be in the form.
Not sure why.
Not sure what is wrong.. any heads up
I am on a mac, using universal email and have just tried to using the latest update of CSS Form Builder 1.0.2.
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

to be honest, I don't recommend using client side validation. Since it is based on javascript, it is easy to get around simply by turning of javascript in your browser, I recommend using server validation over client side validation. Server validation is much more robust and reliable.

Sign in to reply to this post

surfbouyBeta Tester

Thanks Jason, I have used it in the past without problems.
I thought form builder used spry validation? Isn't that javascript?
I'm a bit confused.
Is there any instructions for using server validation for forms? Especially with universal email forms?
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

form builder uses Spry validation for providing immediate feedback to the user on filling in he form, but also uses server validation to ensure that it is filled in.

spry validation or any other client validation type should not be the only validation you rely on to make sure the form is filled in.

to use server validation in your form, go to WebAssist -> Forms -> Validation -> Server Validation.

in the server validation behavior, select the validation type to use, then click the lightning bolt icon next to Server Variable and select the form element to validate, then click the plus button to add it to the validation list. repeat this for each form element you wish to validate.

Sign in to reply to this post

mymarketingpros440695

Web Design

This is strange. I also thought that form builder used some sort of JavaScript at least in the background!

Sign in to reply to this post

Jason ByrnesWebAssist

It does. It uses Spry validation. Spry is a Javascript framework developed by Adobe.


But it also uses Server Side Validation. My point in the previous replies was to point out that relying on any type of Javascript based validation as the only validation on your page is a bad Idea.

Javascript validation is really a bell and whistle.

To truly secure your page, you should be using Server Side Validation.

The 2 can be used on the same page, which is what form builder does.

It adds spry validation to show immediate feedback to the user, but also adds server validation so that if the user turns javascript of in the browser, they cannot bypass validation.

Sign in to reply to this post

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