Text-Entry Data
By
Layla Finch
Hi there,
I'm attempting to set a text entry data box to advance to the next slide using the enter key only if the user has entered text into the box. The next button on the player has been set to be hidden when the timeline starts on the page with the condition that the text variable is currently blank. Pressing the enter key works if the user initially enters text and hits enter, but if the user attempts to hit enter with no text added, the text box reads the enter key as a return command and if they backspace (they have to hold shift and backspace to backspace) and enter text it will not accept it and they are stuck on the page. I have attached pictures of the triggers that I have written, I was attempting to use 1 variable.
Thanks!
3 Replies
Hi Layla!
I see what you're saying. The trick to this is to make the text entry field smaller so the user doesn't have room to add text to the next line.
I'll show you what I mean here!
Pretty sure yours is the answer I'm looking for, Lauren, but the link is no longer working.
Can you help?
Hi Michael!
I'm happy to help! All you need to do is resize the text entry field so it only takes up one line.
Here's a screenshot!