Forum Discussion

kimahmann-6f687's avatar
kimahmann-6f687
Community Member
4 years ago

forcing a learner to enter text

How can I create a variable to not allow the state of a button to change from disabled to normal until after the learner has actually entered some text?

I have a survey question that I have chosen essay to allow the learner to share their thoughts and want to ensure they enter at least a few words before they see the option to hit submit.

thank you 

kim

  • Hi, Kim, and welcome to E-Learning Heroes! ✨

    Thank you for reaching out!

    I'm happy to share a suggestion with you:

    • Add a trigger that disables your submit button when the timeline starts if the TextEntry variable is blank.
    • Add a trigger that enables it when the variable changes, if the variable is different than blank.

    Windows 10 (1) 2021-08-03 at 1.08.02 PM

    Let me know if this works or if you have additional questions!