Hide layer and select radio button with one click

Dec 21, 2017

Hello!

I'm trying to figure out how to hide a layer and select a radio button with one click. I currently have the slide set up where clicking on the radio button will hide the feedback layer and then a second click is required to select the radio button. 

The slide is set up so that feedback is given immediately for each question so I'm trying to figure out how to allow learners to answer each question and get the feedback as quickly as possible. 

Maybe I'm missing something pretty obvious here, but any thoughts or suggestions would be much appreciated! I've attached the storyline file as well if it's helpful. 

Alison

3 Replies
Katherine Abrahams

Hi Alison,

I looked through your file and played around for a moment. The easiest way I thought could accomplish what you need is to do the following:

  • Remove the triggers from the Incorrect layers (all of them).
  • Add a trigger for each incorrect answer on the base layer - Hide layer when user clicks outside <false radio button> - This hides the incorrect answer text when the user clicks something else.
  • Add another trigger for each incorrect answer on the base later -  Change state of <false radio button> to Normal when user clicks outside <false radio button> - This removes the checked state as soon as the user clicks something else. 

Your "Rectangle 5" (the "empty" rectangle that appears with each layer per incorrect answer) is what is preventing the user from immediately selecting another radio button (and having to "double click" a different one).  Layers are transparent, so there is no need to have this rectangle appear. 

Does this make sense?  

There might be a "cleaner" way to do this if someone can figure that out, but this is how I'd accomplish it given the setup :) 

See the attached file; I only fixed RB1's triggers so you could compare.

Walt Hamilton

Alison,

All you have to do is to delete the blank rectangle on each layer. Like Katherine says, that is what keeps your system from working. All the layers are set to hide other layers, so any wrong click hides the previous explanation.

If you want to get rid of the explanation when a new button is clicked, create a layer named Correct that is completely blank. Set it to hide other layers. Set each of the correct answers to show it when they are clicked.

This discussion is closed. You can start a new discussion or contact Articulate Support.