Please bare with me, I am a long time Mainframe programmer trying to 
learn ASP and VBScript.  I have two things I am looking for some 
help with.

1) I want to display rows with information for people (ie. name, 
date ect.) and have one field to be a TEXTBOX to enter information 
into.  This is to be flollowed on the same row with a CHECKBOX tha I 
want to update based on what is entered in the TEXTBOX (see below), 
if the weight is greater than a given weight the CHECKBOX should 
become checked.  This means two things 1. I need to verify the 
entered information is only numbers and 2. I need to compare the 
entered number to a given value.  In reading on the <INPUT> tag I 
see that the Method "onChange" is available, how do I use/trigger a 
method from the <INPUT> tag?

2) Actually #1 might help with this question... When someone enters 
data on the line and goes to the next line I would like to initiate 
some code to update the database with that information. 

My input lines are simular to this:
There can be several lines.
First Name & Last Name are Display only
Date & Weight must be entered (X = check box)
I have a weight limit available from the Database to compare the 
entered weight to.

First Name   Last Name   Date   Weight  X 
First Name   Last Name   Date   Weight  X
First Name   Last Name   Date   Weight  X
etc.

Here is one of the Forms I set up, this represents a single line:
<FORM name="Player2" method="post" action="EditTeam.asp">
<TABLE width="80%"  border="0" cellpadding="0" cellspacing="0" 
summary="Summary">
<TR>
<TH scope="row"><LABEL>&nbsp;&nbsp;
<INPUT name="FirstName" type="text" id="FirstName" size="17" 
Maxlength="15">&nbsp;&nbsp;
<INPUT name="LastName" type="text" id="LastName" size="27" 
maxlength="25">&nbsp;&nbsp;
<INPUT name="MI" type="text" size="3" maxlength="1">&nbsp;&nbsp;
<INPUT name="BirthDate" type="text" id="BirthDate" size="12" 
maxlength="10">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT name="JerseyNumber" type="text" id="JerseyNumber" size="4" 
maxlength="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT name="Weight" type="text" id="Weight" size="5" maxlength="3">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="checkbox" name="BirthCert" 
value="True">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;
<INPUT type="checkbox" name="Star" 
value="True">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="submit" name="Accept" value="Accept">
</LABEL></TH>
<TD>&nbsp;</TD>
</TR>
</TABLE>
</FORM>         





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hvq89e9/M=362329.6886308.7839368.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1122818672/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to