Forum Discussion

HayleyGelder's avatar
HayleyGelder
Community Member
3 years ago

Prevent Enter key from adding new line in text entry field.

I have a single-line text entry field on a content slide, but no matter how small I make the height, pressing the enter key always creates a new line underneath.

Is there any way to prevent it from doing this? It would be fine for the enter key to submit the answer, do something else or do nothing at all. I have tried making it change the variable with a trigger but it also adds a new line.

  • Hi Hayley,

    I'm sorry you're having issues with your text entry field! This sounds like very strange behavior! We would love to troubleshoot this for you! Would you be willing to share your file here or with our support engineers privately in a support case?

    Thanks for reaching out!

  • HayleyGelder's avatar
    HayleyGelder
    Community Member

    Hi John, thanks for your quick response! 

    I'm not allowed to share the project but I've recreated the issue in this test project. I'm wondering if the issue is something to do with it not being part of a question, but just to input the student's name?

  • Hi Hayley,

    I'm sorry you're running into this snag! I did some tests on your file and I have decided to open a support case on your behalf. You may have seen the support email that was sent. Our support engineers will be in contact soon to help you through this issue.

    Thanks for reaching out!