Home | Advertising Info66 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Field validation using ASP/VBScript
From: Hatter
Date: 8/12/2003 7:10:29 PM
IP: 195.93.48.9



 

Hello

I have a form which invites the user to input details such as name, email address, etc.

The form, which is CDONTS-based, works fine, but I have no script which assists in validating field input.

I prefer not to use the bulky Javascript 'alert' boxes, but Iam looking for a script which, if the site visitor forgets to type his name (for example) in the relevant form field, then a message, something along the lines of 'Please type in your name', appears above the name field of the form itself.

If the visitor has tupes in nothing, then 2/3/4 error messages should appear simultaneously above (or alongside) their respective fields. We might end up with, for instance, the following:

Please type in your name
NAME FIELD FIELD HERE

Please type in your email address
EMAIL ADDRESS FIELD HERE

Please type in your message
MESSAGE FIELD HERE

Of course, if there all field have been correctly completed, the form should be submitted without any error message appaering above any of the fields.

I have seen this before on the Web, and wondered how it is done.

Thank you for any replies.

Hatter

Follow Up - Re: Field validation using ASP/VBScript - Bullschmidt 9/30/2003 7:36:29 PM

Follow Up - Re: Field validation using ASP/VBScript - Jordi 12/24/2003 5:22:33 AM

Follow Up - Re: Field validation using ASP/VBScript - sdf 3/21/2004 5:37:41 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com