Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Radio fields

Quote Reply
Radio fields
Hi,

Ok I'm trying to use radio fields for the search form and they don't seem to be working. I'm trying to give the option to search all words or any words. Am I using the correct names="" and value=""?? Also, it won't let you only select one radio field....if you click on one and then click on another they are both selected..and I'm not sure why? Here is the form:

<form action="/search.cgi" method="GET">
<input type="text" size="20" name="query"> <input type="submit" value="search">
<input type="radio" name="type" value="keyword" checked> search any word <input type="radio" name="bool1" value="or"
>search all words>
</form>


Thanks
Quote Reply
Re: Radio fields In reply to
Nevermind....I figured it out!