Solved

Is client side form validation desirable?

Posted on 2013-11-19
7
211 Views
Last Modified: 2013-11-20
Are JavaScript popups a thing of the past?
0
Comment
Question by:burnedfaceless
7 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 100 total points
ID: 39661230
Yes and no.
Most people tend to go the route of dialog popups these days, a little less obtrusive and give you more control over what you want to display, how you display it and what you want to do with the user interaction.
But for a simple OK/Cancel then there is nothing wrong with an alert box.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39661251
Client side validation with javascript is for helping get forms filled out right.  Server side validation is to reject bad submissions and attempts to break in.  I use client side validation on almost all forms.
0
 
LVL 19

Assisted Solution

by:bevhost
bevhost earned 100 total points
ID: 39661265
Validating on the client side is essential for good user experience.
Javascript popups are fine for simple things,
I also like to have jQuery dialogs used as form helpers such as date pickers or post code lookups etc in addition to form validation.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 109

Assisted Solution

by:Ray Paseur
Ray Paseur earned 100 total points
ID: 39661292
You use client-side validation for the convenience of your clients.  You use server-side validation for the protection of your server and your data model.  The latter is required.  The former is "good form."  If you want to tell us a little more about where you are on the web-development continuum we may be able to recommend some learning resources to help you move forward.
0
 

Author Comment

by:burnedfaceless
ID: 39661398
I've written both. Client side was gold server side could be better.

Would you propose I start a new question for server side and give everyone equal points?
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39661603
New question for server side, points as you see fit.
0
 

Author Closing Comment

by:burnedfaceless
ID: 39663617
Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question