onSubmit...i did it just the way the book did it, but when i submit i get no alert.<br>hmmmmmmm:¦<br><br><HTML><br><HEAD><br><TITLE>Special Order Form</TITLE><br><br><SCRIPT LANGUAGE="Javascript"><br><br>var vHolder = 0;<br><br> function setFocus() {<br> document.frmOrder.Store.focus(); // set initial focus<br>}<br><br><br> function checkLoc_cd(vLoc_cd) { // set vLoc_cd to the proper length<br> if (vLoc_cd.length==0) { // check for null field value<br> if (vHolder==0) {<br> vHolder = 1;<br> document.frmOrder.Store.focus();<br> alert("A value must be entered in this field."<br> }<br> }<br> if (vLoc_cd.length==2){ // loc-cd must be 3 characters long<br> vLoc_cd = "0" + vLoc_cd;<br> }<br> else if (vLoc_cd.length==1){<br> vLoc_cd = "00" + vLoc_cd;<br> }<br> document.frmOrder.Store.value = vLoc_cd;<br> vHolder = 0;<br>}<br><br> function checkValue(vValue,vName) { // check for null field value<br> if (vValue.length==0) {<br> if (vHolder==0) {<br> vHolder = 1;<br> alert(vName);<br> val = window.eval("document.frmOrder."+vName+".focus()"<br>/*<br> document.frmOrder.Assoc.focus();<br>*/<br> alert("A value must be entered in this field."<br> }<br> }<br>}<br><br><br></SCRIPT><br></HEAD><br><BODY onLoad="setFocus();"><br><IMG SRC="ultstore.jpg" align=center HEIGHT=28 WIDTH=180><br><CENTER><H3>SPO Department Inquiry & Order Form</H3></CENTER><br><br><FORM NAME="frmOrder" ACTION="mailto:<A HREF="mailto:rthibaul@ultrastores.com">rthibaul@ultrastores.com</A>" METHOD="POST" ENCTYPE="text/plain"<br> onSubmit="alert("Hi""><br> <TABLE WIDTH="95%" BORDER=1><br> <TR><TD>Store<BR><INPUT TYPE="TEXT" SIZE=3 NAME="Store" onBlur="checkLoc_cd(value);"></TD><br> <TD>Associate Name<BR><INPUT TYPE="TEXT" SIZE="15" NAME="Assoc" onBlur="checkValue(value,name);"></TD><br> <TD>Today's Date<BR><INPUT TYPE="TEXT" SIZE="15" NAME="Date" VALUE="6/23/00"></TD><br> <TD COLSPAN=2>Date Order Needed In Store<BR><INPUT TYPE="TEXT" SIZE="15" NAME="Needed" onBlur="checkValue(value,name);"></TD><br> </TR><br> <TR><TD COLSPAN=3>Customer Name<BR><INPUT TYPE="TEXT" SIZE="30" NAME="Guest" onBlur="checkValue(value,name);"></TD><br> <TD ROWSPAN=3 COLSPAN=2><B>One option must be selected<B/><BR><br><br> <INPUT TYPE=RADIO NAME="50%" SELECTED>50% DEPOSIT AMOUNT<BR><br> <INPUT TYPE=RADIO NAME="PAID">PAID IN FULL AMOUNT<BR><br> <INPUT TYPE=RADIO NAME="TRANS">TRANSFER/EXCHANGE<BR><br> <INPUT TYPE=RADIO NAME="INQUIRY">INQUIRY ONLY<BR><br> </TR><br> <TR><TD COLSPAN=3>Address<BR><INPUT TYPE="TEXT" SIZE="40" NAME="Domicile" onBlur="checkValue(value,name);"></TD><br> </TR><br> <TR><TD COLSPAN=2>Home Phone<BR><INPUT TYPE="TEXT" SIZE="20" NAME="Home" onBlur="checkValue(value,name);"></TD><br> <TD>Work Phone<BR><INPUT TYPE="TEXT" SIZE="20" NAME="Work"></TD><br> </TR><br> <TR><TD>SKU to reference<BR><INPUT TYPE="TEXT" SIZE="15" NAME="SKU" onBlur="checkValue(value,name);"></TD><br> <TD>Metal<BR><INPUT TYPE="TEXT" SIZE="15" NAME="metal" onBlur="checkValue(value,name);"></TD><br> <TD>Color<BR><INPUT TYPE="TEXT" SIZE="15" NAME="color" onBlur="checkValue(value,name);"></TD><br> <TD>Size/Length<BR><INPUT TYPE="TEXT" SIZE="15" NAME="size"></TD><br> <TD>Retail<BR><INPUT TYPE="TEXT" SIZE="15" NAME="retail" onBlur="checkValue(value,name);"></TD><br> </TR><br> <TR><TD COLSPAN=5>Special Instructions<BR><INPUT TYPE="TEXT" SIZE="55" NAME="instructions"></TD><br> </TR><br> <TR><TD COLSPAN=5><br> <INPUT TYPE="submit" VALUE="Submit" ACTION=SUBMIT><br> <INPUT TYPE="reset" VALUE="Reset" ACTION=RESET onClick="setFocus();"><br> </TD><br> </TR><br> </TABLE><br> <FONT FACE="Arial" SIZE=2>Copyright Ultra Stores, Inc. 2000</FONT><br></FORM><br></BODY><br></HTML> <p>bobbie<br><a href=mailto:thibault@hotbot.com>thibault@hotbot.com</a><br><a href= </a><br>