text data entry

I want my students to be compelled to enter text data before they can click a button to reveal the correct response.  I have working this into my courses for several years but each time I have to spend huge amounts of time fighting with the variables.  I just don't understand the underlying logic.  I've read through all the discussion chains I can find and it's still hit or miss when I'm working up a new project.  This should be such an easy exercise in logical equivalence but there's something I'm missing.  Is there a fundamental tutorial on this?  

2 Replies
Maria Costa-Stienstra

Hi, Mary!

If you want a button to be disabled until the user types an answer in a textEntry box, what I would do is:

  • Change the state of the button to disabled when the timeline starts.
  • Change the state of the button to normal when the textEntry box loses focus if the value is different than blank:

Windows 10 (1) 2021-02-16 at 1.39.49 PM

Let me know if this is what you are looking for!