Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 15th, 2004, 07:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Cmarek,

But still that is not the most reliable way of validation, as one can Disable Javascript on his browser and cannot still get that work. It is always better to do a SERVER-SIDE Validation, just to get rid of such restrictions.

Post the values from form to the server >> request the submitted values from the server >> Do all your validations now >> Display appropriate error messages beside the Form Fields using different color for whichever didnot pass through the validation >> Ask the user to fill them again for all that went wrong >> finally let the user post the data that satisfies your conditions.

This is little slow as one has to post/request to/from server, but reliable way of validating things, though on a client-side validation one can disable that as in case of javascript.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Question rannonharris Access VBA 2 September 26th, 2006 02:05 PM
i have a question about .... saeedos BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 10th, 2005 05:28 PM
use of onsubmit cjmarek BOOK: Beginning ASP 3.0 1 July 14th, 2004 04:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.