logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Best way to add multiple choice fields

Version: 4.1.4


Best way to add multiple choice fields
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 28
Total Posts: 115
Posted 10/16/07 - 04:24 AM:
quote post
#1
What is the best way to add a multiple choice option to the add link page?

I tried adding checkboxes, radion buttons and multi select combo box but none of the had the desired effect.

Here's how i would like it to work if I want people to list the facilities of an hotel

Facilities: Bar. = Yes; Restaurant = No; Laundry = Yes and so on

I can see how I can do it as seperate fields with just Yes - No but not as one multiple choice one. Some cases may not be a simple Yes or No but have other options also.

Hope you can help.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 10/19/07 - 01:21 AM:
quote post
#2
Found that it was generating some ugly HTML for multiselectors and isn't showing the selections on edit. Will get this resolved tomorrow.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 28
Total Posts: 115
Posted 10/19/07 - 01:28 AM:
quote post
#3
Great!
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 10/19/07 - 05:50 PM:
quote post
#4
Checkboxes seem to work fine already, what problem are you having with them? Fixed comboboxes for 4.1.9.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 28
Total Posts: 115
Posted 10/20/07 - 01:38 AM:
quote post
#5
I am probably just not using them right. I want several choices to show (on the details page - I am not having any problem with what they display on the add link page). When I set up 4 or 5 checkbox options only 1 answer showed on the details page
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 10/23/07 - 10:29 AM:
quote post
#6
You'd display the answers like this:
<IF {LINKCHECKED[multicheck <,> op1]}>checked op1</IF>
<IF {LINKCHECKED[multicheck <,> op2]}>checked op2</IF>
<IF {LINKCHECKED[multicheck <,> op3]}>checked op3</IF>
<IF {LINKCHECKED[multicheck <,> op4]}>checked op4</IF>


(as mentioned at bottom of http://scripts.webmastersite.net/wsnlinks/wsnmanu... )

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.