Forum Discussion

jlfernando's avatar
jlfernando
Community Member
23 days ago

Help with numeric value variables in interactive exercise

I'm trying to create an interactive exercisein Stroyline where users calculate the inflation rate on a cost using variables and triggers, but can't get the correct slide to show, even when the debug text shows correct. I've ChatGPT'd the hell out of this, added Javascript, checked trigger order, etc., and I'm completely stuck. Can someone take a look the attached slide to see if you see anything wrong with it?

2 Replies

  • Problem was in the triggers: it was missing the "else" if the numbers aren't in the correct range. So it was showing the correct layer and then immediately showing the incorrect layer. 

    I added them, but since there is no "not between" condition, there need to be 8 conditions to check for the value of the variables.