Give all the radio buttons the same name: name="usertype" or something.
That way when the data is passed, say to an email message and you have it
print out name/value pairs, the message will always have the same name
(usertype) paired with the actual selection.

This will also make the radio buttons allow only one selection in the html
page.


At 4:47 PM -0800 3/5/99, Gerry Ott wrote:
>Hi All:
>
>I have an Info Request form on one of my clients sites which has, among
>other things, four radio buttons thusly:
>
><input type="radio" name="Individual" value="Individual">Individual User
><input type="radio" name="Seller" value="Seller">Wholesale/Retail
><input type="radio" name="Supplier" value="Supplier">Dental Supplier
><input type="radio" name="Dentist" value="Dentist">Dentist
>
>I want only one of the buttons to be checked, so that if a visitor
>checks one button, then change his/her mind and checks a different
>button, the first button he/she checked will become unchecked.  Can
>someone help me with the syntax to make this happen?  TIA.
>
>Gerry
>
================================
Robert Morse
Dir. of Web Development
Internet Ventures, Inc.
http://www.ivn.net
http://www.perki.net
____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to