Can i control hidden objects with input criteria

Aug 12, 2019

what i want to know is can i change the state of an object by using type only, for instance the user has to type out the correct answer for the next box to become shown? ive tried doing it with triggers but i can only see the option for one letter,

7 Replies
Jerry Beaucaire

Input boxes typically change the value of a text-variable when the textentry object loses focus.   This way you can have a trigger that watches that variable and activates anytime it changes.  The variable can have longer text.

Then you can check the value of that text variable and have things occur based on what is there.

Change the state of Object "cat"  to Visible when MyTextVariable changes if MyTextVariable = cat

Change the state of Object "dog"  to Visible when MyTextVariable changes if MyTextVariable = dog

Etc...

 

 

Kevin Hayes

Here you are Mark - you will see in this file that there are triggers set to change the state of a dog or cat picture based on the value of a text input.

Very rough so apologies for the typo's but hopefully it illustrates the point so that you could implement something similar for your project.

This would obviously also work for changing the state of any object including a NEXT button.

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