Welcome to Axure Community Site Sign in | Join | Help
in Search

Assigning multiple options from list box to value(s)

Last post 07-02-2009, 10:27 AM by Jeff Harrison. 1 replies.
Sort Posts: Previous Next
  •  07-02-2009, 8:56 AM 5313

    Assigning multiple options from list box to value(s)

    Hi,

    I created a List Box and allowed it to be multiple-choice. After that I would like to capture somehow choices that are selected in the List Box to (ideally) multiple variable. But it seems not to be supported in the current version of Axure (5.5). The best what I can get is to use standard

    "Set value of variable TestVariable equal to selected option of TestListBox"

    but with this it only saves the first option of the List Box to the variable and ignores other options...

     Any idea for a workaround?

     Thanks in advance,

    Cheers,

    Goran 

  •  07-02-2009, 10:27 AM 5316 in reply to 5313

    Re: Assigning multiple options from list box to value(s)

    You can check each item to see if it is selected. So, you'd build conditions:

    • If selected option of List Box = item 1 then do x.
    • If selected option of List Box = item 2 then do y.
    • etc.

    For the actions, you could assign TRUE or FALSE  to variables like Item1Selected, or set the text on some hidden text fields to the appropriate values. It's more messing around (and more variables, if that's the way you go) than what you were envisioning, but if your list is reasonably short it might be workable.

View as RSS news feed in XML