Re: Form trouble

by Christopher Higgs <c.higgs(at)landfood.unimelb.edu.au>

 Date:  Fri, 10 Sep 1999 13:53:35 +1000
 To:  kixi(at)altavista.net,
HWG basisch <hwg-basics(at)hwg.org>
 In-Reply-To:  gmx
  todo: View Thread, Original
At 17:59 9/09/99 +0200, Jakob =?UNKNOWN?Q?D=F6lling?= wrote:
>Hi there,
>is possible that one of could have look at this page? The broblem are
>the radio in this form. The Form itself is at the moment not meant being
>submitted, perhaps later. The Url is
>http://www.bank-ic.de/bas/request.html. Any Comment?

When using radio buttons, all possible answers have THE SAME NAME but
different values.

You have:
<TD><INPUT TYPE="Text" NAME="CurRes"></TD>
<TD><INPUT TYPE="Radio" NAME="muA" VALUE="0"> &micro;A</TD>
<TD><INPUT TYPE="Radio" NAME="nA" VALUE="0"> nA</TD>
<TD><INPUT TYPE="Radio" NAME="pA" VALUE="0"> pA</TD>
<TD><INPUT TYPE="Radio" NAME="fA" VALUE="0"> fA</TD>

You need:
<TD><INPUT TYPE="Text" NAME="CurRes"></TD>
<TD><INPUT TYPE="Radio" NAME="CurResUnits" VALUE="0"> &micro;A</TD>
<TD><INPUT TYPE="Radio" NAME="CurResUnits" VALUE="nA"> nA</TD>
<TD><INPUT TYPE="Radio" NAME="CurResUnits" VALUE="pA"> pA</TD>
<TD><INPUT TYPE="Radio" NAME="CurResUnits" VALUE="fA"> fA</TD>

Because the name for all options is the same, only one can be selected at
any one time.


Chris Higgs <c.higgs(at)landfood.unimelb.edu.au>
Institute of Land and Food Resources
University of Melbourne
http://www.landfood.unimelb.edu.au

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA