Gossamer Forum
Home : Products : Gossamer Links : Discussions :

search form with checkbox

Quote Reply
search form with checkbox
For Example:

Type_of_OS [x] Linux [ ] Windows [X] Other

That would give a URL search result of

search.cgi?Type_of_OS=Linux&Type_of_OS=Other

It only work if you checked one box per search, if more than one it doesn't work.

Any one know why it work in the admin section but not for the search.cgi?
Quote Reply
Re: [xyzinfo] search form with checkbox In reply to
Why are you using checkboxes and not radio buttons? They will do what you want Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search form with checkbox In reply to
with radio i can only select one but with checkbox i can select more than one
Quote Reply
Re: [xyzinfo] search form with checkbox In reply to
I don't think it is possible to do what you are trying to do...

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search form with checkbox In reply to
but you can do it in the admin section
Quote Reply
Re: [xyzinfo] search form with checkbox In reply to
Is there a way to make this work?