Forum Discussion
- PhilMayorSuper Hero
Or in properties set it to single line
- NedimCommunity Member
Unchecking the 'Multi-line' option in the Text properties will do the trick. When you press the Enter key in a multi-line text entry field, the default behavior is to insert a newline character (\n), which moves the cursor to the next line within the same text entry field. This creates many issues for us because Storyline will validate the input as 'FM\n' instead of 'FM', which we have set as the correct answer. If you, for whatever reason, need the 'Multi-line' option, I can provide JavaScript code to fix this unwanted behavior when the Enter key is pressed.
- NishUpadhyaya-1Community Member
Thank you all! Yes, i unchecked the multi line option and it worked. It is usually a single line field so that should work for now. Thanks again and really appreciate it :).