DMXzone Database Connector PHP Support Product Page
In progress
Pressing Enter clears form field
Reported 04 Apr 2016 22:04:11
1
has this problem
04 Apr 2016 22:04:11 Brent Metzker posted:
I have a simple form that I use to search for data in a database. The form consists of a form field that is bound to a database field. If you type in the search criteria and the push the "Search" button it works fine. But if you type in the search criteria and then press the "enter" key on the keyboard while still in that field it clears the search box. I'm sure it's a simple newbie problem but I can't find an answer. Replies
Replied 12 Apr 2016 14:59:11
12 Apr 2016 14:59:11 Teodor Kuduschiev replied:
Hello Brent,
Enter key submits the form. Just remove the form tags around your field, as you do not really need them.
Enter key submits the form. Just remove the form tags around your field, as you do not really need them.