Supressing Enter key in CAF

Hi All,
I am newbie to CAF. I am working on a portlet application. In my portlets, i want to suppress enter key. Whenever user enters key, form should not be submitted, either synchronously or Asynchronously.
I dont have any submit controls in my view. But, still my page is refreshing.
I had created another application for POC. here, enter key is not working.

Please let me know how to suppress enter key?

Many Thanks

Kumar

1 Like

Hi All,
Found solution. In the Key Press of the form, i am adding javascript code to look for the enter key. if found, i am not considering this key stroke from keyboard.

Thanks and Regards,
Kumar