IF key pressed equals Return

I’m looking to add logic to a text field that fires when the user hits the ‘Return’ key.

I’m implementing IF key pressed equals Return, but nothing occurs. Strangely, if I change ‘Return’ to any another key it works fine. Why doesn’t Return work?


Checking for a pressed key works only with the interactions OnKeyUp and OnKeyDown. (And the page versions of those events). Use either one of those instead of OnTextChange.