Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Multi-Select

Quote Reply
Multi-Select
Hi.. I am little confused on setting up multi-select within link property, and it would be highly appreciated if someone can help me out.

Link Properties contains one option where end user is required to seleted from

1) unix
2) win 2000
3) winNT
4) .NET

Also, I would like to give the end user the ability to select more than one field (or even all fields). Now how do I do this in input form?

==================
<fieldset>
<legend><b>Options</b></legend>

<input type="checkbox" name="unix" value="ON"> Unix Hosting<br>
<input type="checkbox" name="win_2000" value="ON"> NT Hosting<br>
<input type="checkbox" name="winNT" value="ON"> Mac Hosting<br>
<input type="checkbox" name=".NET" value="ON"> Mac Hosting<br>

</fieldset>
==================

If I use above code within the add listing form, will it work? or what shall I try?

Thanks for the help.

Vishal Thakkar

Vishal
-------------------------------------------------------
Quote Reply
Re: [NeedScripts.Com] Multi-Select In reply to
Any help would be highly appreciated..

Thanks

Vishal Thakkar

Vishal
-------------------------------------------------------
Quote Reply
Re: [NeedScripts.Com] Multi-Select In reply to
I'm not quite sure about your logic. Should someone be able to select mor than one box? If so, just try something like;

<%if unix%>
<input type="checkbox" name="unix" value="ON" checked> Unix Hosting<br>
<%else%>
<input type="checkbox" name="unix" value="ON"> Unix Hosting<br>
<%endif%>

I'm not sure if 'checked' is the right HTML reference. It may be 'selected'.

Cheers

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!