Enter Key Bug (on password protected pages)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Enter Key Bug

1. nopCommerce 1.9 and 1.8
2. Any private modifications you made to your nopCommerce - NO
3. The version of MS SQL database you're running nopCommerce with - 2008
4. Similar kind of Enter Key bug which i reported here: https://www.nopcommerce.com/boards/t/7492/nopcommerce-190-is-coming-in-14-days-beta-testers-needed.aspx#30627

The only difference is that it is on password protected pages.

When we enter/type password on password protected pages (in the text box), if we press ENTER KEY, it takes the users to the search engine page (search.aspx).

Currently it only works when user clicks the button by mouse pointer.
13 years ago
Thanks for into
12 years ago
Hi!

Problem is that almost entire page in nopCommerce is a single form. Since the default button is nowhere set, enter "clicks" the first button on the page, and it is in most cases the "Search" button.
To repair this, you have to set default buttons. Surround your form with a panel and set DefaultButton property of the panel to the button you wish to be clicked when user hits enter.

Hope this helps.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.