Home | Advertising Info55 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, November 27, 2015  

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

Try a free httpZip trial now and compress for less!

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)


Subject: Re: Field validation using ASP/VBScript
From: Jordi
Date: 12/24/2003 5:22:33 AM


The only thing you have to do is to create the messages over each box and set them invisible. When an error ocurrs in a field, where you used to show the alert() message box, you display the invisible message that corresponds to the field that have the error. You can use the tag <label>:

<form name=thisForm>
<LABEL ID="msg01" style="display:none"><font color=red>You must write your name</font></LABEL>
<br>Name:<input type=text name="txt01">

<script language="JavaScript">
function functionsubmit(){
if (thisForm.txt01.value==''){ msg01.style.display='';}

// and continue comparing each field.

<input type=button onclick="functionsubmit();" value="Submit">


Hope it's usefull

Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 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