Forum Discussion
MarcellaSimon
10 years agoCommunity Member
Disable next button until user enters text into all text entry fields on slide
Hello- I have been successful in disabling the player next button in drag and drop situations and in counter situations but I cannot figure out how to disable the next button until the user has ente...
MichaelLaudone
10 years agoCommunity Member
Hi Marcella,
Again, variables are going to help you.
- Set up a variable, e.g., clickInBox of Number type.
- Set up a trigger on your text box. so that when the learner clicks into the textbox, have the variable update.
- On the next button,
- change the state to hidden
- add a trigger so that it changes states when the variable changes to a certain number (a add a condition) so that is runs when the variable reaches a certain number.
There may need to be some error captures but it should work.
MarcellaSimon
10 years agoCommunity Member
Thanks Michael! That way had worked with drag and drop but when I tried it
with text entry, it did not work. I must be doing something wrong.
I set up a variable FillBox with an initial number at 0.
I then set it up to change to 1 when user clicked the text entry box.
I had disabled the next button (upon timeline starting) and then made it
normal when the count reached 1