Skip to main content
sharl_tonyaw91900557
Participating Frequently
July 31, 2017
Question

Can't get list box widget to work properly

  • July 31, 2017
  • 1 reply
  • 286 views

Please help...

1. Inserted List box widget. 

2. Added 3 items in list (List item1, List item2, List item3).

3. Named widget Listbox_new (variable).

4. Created a Submit button. 

5. Created 3 shapes (blackbox, bluebox, greenbox)

6. Created advance action (Listbox_action):

- If Listbox is equal to List item1, show blackbox.

- Created the same for all list items. 

7. Changed blackbox to "Hide in output"

8. Made submit button execute Listbox action upon clicking.

On preview, the action does not execute. 

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    July 31, 2017

    Did you create the user variable? It is not sufficient to enter a user variable in the Properties for the widget, you have to create it with Project, Variables dialog box.

    Which version are you using? I would also like to see a screenshot of that conditional action. Please use the Preview button (first button in the cotrol panel at the top of the Advanced Actionsto panel) so that all decisions are visible at once.

    Using Captivate Widgets? Some tips - Captivate blog

    Be careful with names; never use the same name for two items, and do not use reserved keywords.

    sharl_tonyaw91900557
    Participating Frequently
    July 31, 2017

    Yes, I created a user variable (Listbox_new).

    I'm using Captivate 2017. 

    I keep getting an error when uploading the screenshot of the conditional action, but here is the text:

    Untitled-1

    If ( listbox_new == "List item1" )

    Show blackbox

    Lilybiri
    Legend
    July 31, 2017

    That is not the complete conditional action. And I think you are talking about the Learning Interaction, not the widget. This is a new interaction, I didn't yet test it (because I have an article with a list of the previous learning interactions, didn't update yet for 9/2017).

    I always use the Jive forums because it is not possible for me neither to upload media in the portal. In the jive forums it is very easy to insert a screenshot. Try it, this is the link to your thread:

    Re: Can't get list box widget to work properly