Skip to main content
Known Participant
November 22, 2011
Answered

Custom feedback with advanced actions?

  • November 22, 2011
  • 2 replies
  • 1795 views

Hi, I got a question and don't even know if it is possible to resolve it.

I have made an exercise where students need to choose good words for a search. When the student clicks on a good word (click box on a transparent caption), the word disappear and reappear in a square (an invisible caption who is showed when the click box is clicked). There are 4 words to be clicked. What I want, is something like " If the 4 invisibles captions are showed, show a caption "Good Job!!" or "If the 4 click boxes have been clicked, show caption "good job!!".

In the same way, I have an exercise with drag and drop widgets. I got 3 square in which the students have to drag things. I would like to have a feedback when the 3 widget are done.

Is that possible? 

Thanks,

Laurie-Anne

    This topic has been closed for replies.
    Correct answer Lilybiri

    Hello Laurie-Anne,

    I suppose it is not possible to click twice on a 'good word'? To be sure, you'd better hide the click box with the same advanced action that you use to show the invisible caption.

    In that case, I would use this approach:

    • create a user variable v_counter
    • add a statement to the advanced actions that are triggered by the click boxes: Expression v_counter = v_counter +1 which is really an increment action

    Now I have to know if you want to add a 'Check' button, or have the conditional action triggered automatically with each click on the click box?

    If you have a Check button (easiest way, but probably not what you want):

    • create a conditional advanced action to be triggered by the Check button
      • IF v_counter is equal to 4
      • THEN show TC_Feedback (which is the Text Caption 'Good Job' that is initially invisible)
      • ELSE Continue

    If you want everything triggered by the click boxes, you'll need a similar conditional advanced action for each click box, with two decisions:

    • first decision is really a mimicked standard action
      • If 1=1
      • THEN .... all the statements I showed before, you have already there
      • ELSE you do not need that one
    • second decision is the condition I just described for the Check button

    I did not try it out, but this should be your work flow

    Lilybiri

    Sorry, for the widget I have to know if this is the Interactive Drag-and-drop widget?

    2 replies

    Lilybiri
    LilybiriCorrect answer
    Legend
    November 22, 2011

    Hello Laurie-Anne,

    I suppose it is not possible to click twice on a 'good word'? To be sure, you'd better hide the click box with the same advanced action that you use to show the invisible caption.

    In that case, I would use this approach:

    • create a user variable v_counter
    • add a statement to the advanced actions that are triggered by the click boxes: Expression v_counter = v_counter +1 which is really an increment action

    Now I have to know if you want to add a 'Check' button, or have the conditional action triggered automatically with each click on the click box?

    If you have a Check button (easiest way, but probably not what you want):

    • create a conditional advanced action to be triggered by the Check button
      • IF v_counter is equal to 4
      • THEN show TC_Feedback (which is the Text Caption 'Good Job' that is initially invisible)
      • ELSE Continue

    If you want everything triggered by the click boxes, you'll need a similar conditional advanced action for each click box, with two decisions:

    • first decision is really a mimicked standard action
      • If 1=1
      • THEN .... all the statements I showed before, you have already there
      • ELSE you do not need that one
    • second decision is the condition I just described for the Check button

    I did not try it out, but this should be your work flow

    Lilybiri

    Sorry, for the widget I have to know if this is the Interactive Drag-and-drop widget?

    L_A_GAuthor
    Known Participant
    November 22, 2011

    It works!! It will be so helpfull !

    For the drag and drop it's : Infosemantics_DragAndDropInteractive_AS3

    Lilybiri
    Legend
    November 22, 2011

    OK, I used this widget (also 3 times) in this blog post, look for the first question slide:

    Playtime with audio and widgets

    I do not know how you did set them up. I used the option in the Preferences (for all 3 widgets) to Evaluate only when a Submit button was clicked. This allows you to attach an (advanced) action to this Submit button (that you have to create yourself). I used this action to calculate the total score for the slide, to hide the Submit and Clear buttons and to show the Next button. Bbut you can use it also to show a feedback caption.

    If you want another way, let me know.


    Lilybiri

    AndyKingInOC
    Legend
    November 22, 2011

    It is possible.

    You don't mention wihch version you're using, but in Cp5.5 one way to work it would be:

    In the clickbox action that shows your hidden caption, add a couple commands,

    1- create a variable to set a flag of which words are selected (var_searchword1, var_searchword2, var_searchword3, var_searchword4), and when the click box is clicked do "Assign var_searchword1 = Y"

    2- check for that variable and if all are 'y' then show the feedback caption, something like "if var_searchword1 = Y and var_searchword2 = Y and var_searchword3 = Y, and var_searchword4 = y then show good_job_caption else continue

    Maybe also add a Show for some kind of button so they know to continue or click search or whatever step is next.

    Lilybiri
    Legend
    November 22, 2011

    Andy,

    I posted almost at the same time and proposed a more simple way, since there is no possibility to click twice on the same word, no need to have a separate variable for each word. Don't you agree?

    Lilybiri

    AndyKingInOC
    Legend
    November 22, 2011

    Lilybiri wrote:

    Andy,

    I posted almost at the same time and proposed a more simple way, since there is no possibility to click twice on the same word, no need to have a separate variable for each word. Don't you agree?

    Lilybiri

    yes I agree it is a different way to handle the situation.  The expression I normally use is "a different way to Las Vegas," that is, different routes to the same destination.