Forum Discussion

BrianBalk's avatar
BrianBalk
Community Member
2 years ago

Can Keyboard Enter key serve the same as a Submit button

The scenario is a content slide that has a field where the user is prompted to type in a search string and then click a Submit button to trigger conditional next steps.

Can it be formatted so that pressing the keyboard Enter key performs the same Submit function? That's such a natural action in so many contexts, it would be nice to have it work either way.

  • Hello Brian,

    Happy to help!

    You can achieve this effect by adding this trigger to an interaction that accepts text input from your users: 

    Attached is a simple project file that shows this trigger in action. Let me know if you have any questions with the design!

  • BrianBalk's avatar
    BrianBalk
    Community Member

    Thank you! That looks easy to implement, so each activity with this kind of structure could have both the Enter key and a Submit button as equivalent commands.