Gossamer Forum
Home : Products : DBMan : Discussions :

Using the Enter Key causes error

Quote Reply
Using the Enter Key causes error
  
When a customer uses the enter key while still inside the search field(text entry box) it causes an unknown action error instead of submitting the form.

Is there a workaround to fix this?

Raymond
Tradeshows Online
http://tradeshows-online.com

Last edited by:

tradesho1: Apr 10, 2004, 9:29 PM
Quote Reply
Re: [tradesho1] Using the Enter Key causes error In reply to
Have you setup your forms to allow the use of the enter key to submit them?

To do so you would need to add to the search form:

<INPUT TYPE=hidden name="view_records" value=1>

This example is for search forms, for other forms you would need to enter the proper "name" tag for the form.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Using the Enter Key causes error In reply to
I have not used that in this form Lois.

However you did get me to thinking about how some forms work differently when there is only one text box so I added the input filed where you can tell it how many hits to show on a page and that did the job.

I preset it to ten now if you hit enter when you are in the text field it will still operate the search properly

See what I mean here: http://cogcw.org/html/archives.html

Thanks,

Raymond
Tradeshows Online
http://tradeshows-online.com