Skip to main content
Inspiring
April 22, 2016
Answered

How do I use the result of radio widget selection to "show" a textbox?

  • April 22, 2016
  • 1 reply
  • 1084 views

Hello again,

I have a question regarding widgets.

What I want to do is to take the result of radio button widgets (in this case 1 of 2 rather longer sentences that were offered) and use that to make a text box appear on another screen.

Background: I have a series of slides where I ask the learner questions through Radio button widgets and hence I get a number of variables (= sentences) they choose.

The issue I have is that I want to display all the choices they made on 1 page. As the possible answers are relatively long I run of out space if I simply insert

the variables to be shown as such and/or the font gets too small.

So my idea is to use the answer they choose to make a text box with a shorter version of the same sentence appearo on that "results" slide.

So my idea is to have the learner make their selection and then use an advanced action to check which answer (= which radio button) they clicked on.

This I would do through "if variable XYZ" "contains (one key word of the long sentence)" then "show textbox YZ" etc.

Question 1: Is this the easiest/most practical way or can I save myself time somwhow?

2. Does "contain" in an adv. action mean the exact text or can it be just one of the words (out of the long sentence that could be selected)? I am asking because then I would have to use the exact same long sentence in the aa which seems clumsy.

3. I would have to create a separate advanced action for each radio widget I used. Is that correct?

4. If I then have say 5 adv. actions for the various questions I asked what should trigger these advanc. action? The aim is just to abbreviate the long sentences in the selections made?

If I use "on enter" for the whole screen I just have triggered one, haven´t I?

Lots of probably of wrong assumptions on my part I guess...

Any help is greatly appreciated!

    This topic has been closed for replies.
    Correct answer Lilybiri

    Thank you so much.

    To recap, we have the learner choose an answer, then this long sentence gets exchanged with a short version in the var (=container for text).

    So after that when I insert $$answer1$$ for example I get the short version for that answer on the final summary screen?
    Is that correct?

    Wow...brilliant.


    In my example the var that will get the short sentence is v_class. It is always the variable associated with the radio buttons interaction. You will have as many of those variables to be inserted on the final slide as you have radio button interactions. Please, never type in the variable to insert, but use the X button in the Character part of the Properties panel for the text container. Variables are case sensitive, that way you'll avoid typos.

    1 reply

    Lilybiri
    Legend
    April 22, 2016

    Give me a real sentence, and the abbreviation that you want to see, and I will try to offer you a step-by-step.

    One wrong assumption is that you suppose you can trigger an advanced action with the radiobuttons interaction, which is NOT the case because it is a static interaction, not an interactive interaction (sorry but that is the Captivate terminology which I try to use in a consistent way but it can be very confusing). Download the table you can find here:

    Tips - Learning Interactions - Captivate blog

    Inspiring
    April 22, 2016

    Hello again,

    I did read your post on widgets of course! I wasn´t sure if some things had changed since then.

    E.g.

    "Not interrupt the class and ask the question after the class, if they ask at all"

    should just become "no interruptions/questions asked after class" or such.

    Thanks a lot!

    Lilybiri
    LilybiriCorrect answer
    Legend
    April 22, 2016

    Thank you so much.

    To recap, we have the learner choose an answer, then this long sentence gets exchanged with a short version in the var (=container for text).

    So after that when I insert $$answer1$$ for example I get the short version for that answer on the final summary screen?
    Is that correct?

    Wow...brilliant.


    In my example the var that will get the short sentence is v_class. It is always the variable associated with the radio buttons interaction. You will have as many of those variables to be inserted on the final slide as you have radio button interactions. Please, never type in the variable to insert, but use the X button in the Character part of the Properties panel for the text container. Variables are case sensitive, that way you'll avoid typos.