Skip to main content
Known Participant
August 11, 2021
Question

Re-setting a Text Entry Box

  • August 11, 2021
  • 1 reply
  • 562 views

Hello Everyone:

I need help re-setting the content of a Text Entry Box on the same slide. I have a numbers' project, which includes 10 buttons on the same slide. Each button represents a number which plays audio (name of the number).  Users will type (Text Entry Box -TEB) in letters the name of the number. If the name is typed correctly, the corresponding button is hidden. However, I would like (via Advanced Actions or other means) to reset the content of the TEB so that users can re-type the name. Once a number is hidden, I like users to continue with the rest of buttons without going to a different slide. Can someone help me with this issue?

 

Sincerely,

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    August 11, 2021

    What do you mean by 'resetting'?  Do you need to validate the TEB or not?  Probably that is the case,  but how did you set that up? How many attempts do you have for the TEB? Maybe this blog can help clarifying;

    http://blog.lilybiri.com/text-entry-boxes-back-to-basics

    It may be easier to use a Scrolling Text interaction instead of a TEB.

     

    grcutzAuthor
    Known Participant
    August 12, 2021

    Thanks for replying Lilybiri. 

    I read your blog and it clarified a lot of how to use the Text Entry Box. Thanks. However, my issue still remains.

    1. Re-setting means deleting-erasing the content typed in the TEB and show a blank space (as default), so that users can retype their answer.

    2. I had 10 buttons on one the same slide. The idea was to use the same TEB for all them. Via Advance Actions I would validate answers and change the content of the TEB depending on the button clicked. For example, if button for number one is clicked, the user can type one, One, or ONE. A feedback message is displayed depending on the answer.

    3. Each button can be clicked as many times as needed. However, the TEB may accept five attempts for the correct answer.

    4. I assigned the TEB with the variable NumberName. I also created a Null variable: v_null with an empty value (no number or letter).

    5. I can't change the content of NumberName to v_null. It doesn't change the value.

     

    I hope this makes a little more sense.

     

    Sincerely,

    Lilybiri
    Legend
    August 12, 2021

    This is a pain since quite a long time. You can reset the variable associated with the TEB without problems, but it will only appear changed when you reset the slide. That is one of the reasons I asked if you need really a TEB or if it could be replaced by a Scrolling Text interaction? From your description you are not using a validated TEB.

    http://blog.lilybiri.com/scrolling-text-interaction-to-replace-text-entry-box

    One drawback with that interaction is that you don't have the possbility to ignore case sensitivity as exists for a TEB.