<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Thank you for your responses.&nbsp; For those of you who were 
curious, I figured out why this script had trouble with the non-text 
inputs.&nbsp; The script basically tests for the value of an input being an 
empty string.&nbsp; This doesn't work for a checkbox because the proper test for 
a checkbox is to see whether it is checked, it returns the same value either 
way.&nbsp; So value is pretty useless as a field filled/empty test.&nbsp; The 
reason the script had trouble returning anything of significance from radio 
buttons is that it seems as though each radio button associated with a 
particular name is in itself an object(located within an array which goes by the 
radio name), similar to a textbox, as opposed to simply being a switch for the 
value of the radio button.&nbsp; Therefore(I think) if I have a radio object 
name 'fred' with four radio buttons associated with it, there really is no 
object named 'fred', or at least no value associated with it, since 'fred' is an 
array.</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rodney@aflyingstart.net href="mailto:rodney@aflyingstart.net">Rodney 
  Myers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 28, 2003 12:18 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] form validation 
  script</DIV>
  <DIV><BR></DIV>David,<BR><BR>Personally, while I much admire the layout 
  facilities and CSS editing provided by MacroMedia I find their javascript 
  often leaves something to be desired and avoid using it.<BR><BR>I think your 
  plan b of writing your own code sounds wise.<BR><BR>Rodney<BR><BR>David S Levy 
  wrote:<BR>
  <BLOCKQUOTE cite=mid002001c2f53b$2928a3c0$5e0210ac@lancerins.com 
    type="cite"><META content="MSHTML 6.00.2600.0" name=GENERATOR>
    <STYLE></STYLE>

    <DIV><FONT size=2>Hi, I'm having trouble with the following two 
    functions.&nbsp; They were generated by 
  dreamweaver.&nbsp;</FONT></DIV></BLOCKQUOTE>&lt;snip&gt;<BR>
  <BLOCKQUOTE cite=mid002001c2f53b$2928a3c0$5e0210ac@lancerins.com 
    type="cite"><DIV><FONT size=2>I can write a simpler and more proprietary 
    script for this but am pretty confused as to why this one is not 
    working.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&lt;snip&gt;</DIV></BLOCKQUOTE><BR><PRE class=moz-signature cols="$mailwrapcol">-- 
PS. I have just bought a licence for Mike Chen's
BizAutomator. If you have to answer routine 
email queries from your sites or mailings then
you need this as much as I do. 
<A class=moz-txt-link-freetext href="http://www.BizAutomator.com/rlbm51">http://www.BizAutomator.com/rlbm51</A> 

Rodney
</PRE><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Javascript mailing 
  list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>