Forum Discussion

JamesMcPhill461's avatar
JamesMcPhill461
Community Member
2 years ago

States inheriting colour and opacity when using tiggers

I'm working on a question slide, when a user selects an option (but before hitting submit) I want the other answers to change opacity and colour. I've created a custom state 'Unselected' for this. But if the user changes their mind and selects a different answer after having clicked the first I want the state to return to selected and the other answers be unselected.

For some reason, when this happens the newly chosen answer changes position to match the Selected state, but keeps the colour and opacity of the custom Unselected state.

On each answer object I've added three triggers, two to change the state of the other two options
"Set State of Answer 2 to Unselected when user clicks Answer 1"
"Set State of Answer 3 to Unselected when user clicks Answer 1"

and because the state wasn't changing to selected automatically I've used a third trigger to try and reinforce the state change with
"Set state of Answer 1 to Selected when the user clicks Answer 1"

I've also tried another method of using conditional triggers but got the same result.

To throw another spanner in the works, it seems to work on Answer 3... I stripped company info out of the slide and on Answer 3 I had to update each state individually whereas answer 1 & 2 all the states updated the text when I changed the Normal state. This might be a clue as to what is going on.

Please have a look at the attached storyline doc, help would be appreciated.

  • Edit: this fix broke the question functionality of the slide...

    Fixed: Created another custom state "shapeSelected" and set a trigger to change the state to this when clicked instead of relying on the default Selected state

  • Hi James!

    I'm sorry to hear that you're experiencing this issue. Thank you for providing additional detail about what you've tried so far. I see you've opened a support case which was a great call! You'll be hearing from one of our Support Engineers soon via email.