Submit password form on key press [return]

Morning!
I have a simple password form working but I'd like to be able for the user to submit the form using the RETURN key. Triggering the Submit button with the RETURN key would also be an option.
I've searched the forum and found similar examples but cannot get anything to work.

Any help on this would be magic.
Thanks!!

example: Simulate Search Pt. II - Show layer with enter key
password.hype.zip (17.1 KB)

password.hype 2.zip (21,5 KB)

3 Likes

Thank you Max!

1 Like