Trigger on-click event by pressing ENTER key?

Is it possible to link an on-click event (of a UI element) to pressing the ENTER key?
I didn’t find a “regular” way in UI Builder, but maybe there is a workaround?
Regards,

You can track when the ENTER key is entered using the On Key Down Event in the Input component:


However, you cannot trigger the on-click event, but what you can do is re-use the logic from the on-click event by using custom functions:

Regards,
Mark

Works very well!
One thing though: I wanted to refer to PageData in the custom function, which fails. I guess referring to AppData will work?

Thanks

You should add Page Data as a function argument because the custom function running in another context.
Here an example.
image

Regards, Dima