Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Display Multiple Choice Selections

 

 


dmsid
User

Oct 12, 2009, 12:01 PM

Post #1 of 11 (2628 views)
Shortcut
Display Multiple Choice Selections Can't Post

I spent 1/2 hour looking in the forums, so I though it was save to post this question.
If it is already here please direct me to the thread.

What is the template code to display what items are selected in a Multiple Choice Field?
I want to display checked or uncheck graphics with text.
I can handle the HTML part, just need the AM logic code.
I have attached a screen shot of the data field.

All the best,
-Jon


Damon
Staff / Moderator


Oct 12, 2009, 1:07 PM

Post #2 of 11 (2626 views)
Shortcut
Re: [dmsid] Display Multiple Choice Selections [In reply to] Can't Post

Hi Jon,

Can you reply with the screen shot of the data field attached. It didn't get attached with your post.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


dmsid
User

Oct 12, 2009, 1:27 PM

Post #3 of 11 (2621 views)
Shortcut
Re: [Damon] Display Multiple Choice Selections [In reply to] Can't Post

Sure thing.
Attachments: InteractiveToolsMChoice.jpg (78.2 KB)


Donna
Staff / Moderator


Oct 13, 2009, 11:24 AM

Post #4 of 11 (2612 views)
Shortcut
Re: [dmsid] Display Multiple Choice Selections [In reply to] Can't Post

Hi Jon,

Same as any other field, you just need the placeholder, so in your case, $article.plantusdazone$

This will generate a comma delimited list of all options selected in the multiple-choice box.

I hope this helps!

Donna

--
support@interactivetools.com


dmsid
User

Oct 13, 2009, 11:42 AM

Post #5 of 11 (2611 views)
Shortcut
Re: [Donna] Display Multiple Choice Selections [In reply to] Can't Post

Nope, does not help. Here is what I was trying to ask.
I need to know how I can take action on the individual items that are checked.
So if they check specific boxes, I can do specific things.

So if they select options 1 and 2 I can have the template take specific actions based on what they selected. Just getting a comma list does not make this field very useful. If each one of these options were its own field I could take action in the template. Are you telling me that the pulldown menu has no real functionality? Wow, I sure hope not.

All the best,
-Jon


Donna
Staff / Moderator


Oct 13, 2009, 1:17 PM

Post #6 of 11 (2608 views)
Shortcut
Re: [dmsid] Display Multiple Choice Selections [In reply to] Can't Post

Hi there,

The list field isn't really intended for that purpose -- it's really just for lists, not for designating individual options like that.

However, you could use a single checkbox field (instead of the list field), and simply create a new field for each possibility, then you could easily do specific actions on each checkbox.

Donna

--
support@interactivetools.com


dmsid
User

Oct 13, 2009, 1:33 PM

Post #7 of 11 (2607 views)
Shortcut
Re: [Donna] Display Multiple Choice Selections [In reply to] Can't Post

Ouch, that could get ugly. But will have to do it.

OK, add that to the it really should do that list for the future versions. Multiple Choice should be more than just a list.

THANKS.

All the best,
-Jon


Donna
Staff / Moderator


Oct 13, 2009, 2:17 PM

Post #8 of 11 (2605 views)
Shortcut
Re: [dmsid] Display Multiple Choice Selections [In reply to] Can't Post

Hi Jon,

Well, it's not really a multiple choice field... it's a list field. That's working as intended. :)

The checkbox field is intended to be used as a multiple choice field, that's what it's there for. In the end, it'll end up taking the same amount of space on the front end, and be a lot easier to designate in the templates as well (as each option will have its own placeholder.) In other words, how I've described using it is how it was designed to work. :)

Donna

--
support@interactivetools.com


BillG
User

Oct 14, 2009, 12:18 PM

Post #9 of 11 (2602 views)
Shortcut
Re: [dmsid] Display Multiple Choice Selections [In reply to] Can't Post

Simple - AM is designed to do this. Your template needs to include a server-side scripting language, like ASP or PHP. Insert the placeholder in your code, probably an IF...THEN (you may need to enclose it in quotes). Let your server-side script do the work.

Simple!


nkerschgens
User

Oct 19, 2009, 8:15 AM

Post #10 of 11 (2577 views)
Shortcut
Re: [Donna] Display Multiple Choice Selections [In reply to] Can't Post

Hi,

Is it possible to change the coma delimited to a <li> html code? Also, is it possible to search trough this field?


Donna
Staff / Moderator


Oct 20, 2009, 11:36 AM

Post #11 of 11 (2537 views)
Shortcut
Re: [nkerschgens] Display Multiple Choice Selections [In reply to] Can't Post

Hi there,

Not by default, you'd have to muck with the code, which we don't really recommend.

You're better off using a different type of field where you can have more control (like a checkbox field), although yes you can search on any field you'd like. :)

Donna

--
support@interactivetools.com