Gossamer Forum
Home : Products : DBMan : Customization :

enter on search form results in illegal instruction

Quote Reply
enter on search form results in illegal instruction
He there,

If i push <enter> iso clicking the search button the database comes up with a illegal instruction / command not recognized. How can this be solved?
Quote Reply
Re: enter on search form results in illegal instruction In reply to
What exactly is the error message that you get? Is this a CGI Error or is it

"The database program received a command that it did not understand."

If it's the latter, I would check to make sure that the name on the submit button in html_view_search is correct. It should be

<INPUT TYPE="SUBMIT" NAME="view_records"

If it's anything else, you'll get an "unrecognized action" message.

If this isn't your problem, I'll need more info before I can answer your question.


------------------
JPD





Quote Reply
Re: enter on search form results in illegal instruction In reply to
I get the same message!
And this is my code:

<form action="$db_script_url" method="GET">
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
<INPUT TYPE="TEXT" NAME="keyword" SIZE=25 MAXLENGTH=255>
<INPUT TYPE="SUBMIT" NAME="view_records" VALUE="Trazi">
</form>

Quote Reply
Re: enter on search form results in illegal instruction In reply to
I am also having a problem with hitting Enter to execute forms on Netscape. I get no error message. I just have to physically hit the Submit button with my mouse to execute the form. It works fine under Internet Explorer (3.x - 5.x).

What can I do to allow people to hit the Enter key in Netscape???

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited June 04, 1999).]
Quote Reply
Re: enter on search form results in illegal instruction In reply to
Sorry. I didn't read carefully.

If you want people to be able to use the "Enter" button, you'll need to add a hidden field somewhere on your form:

<input type="hidden" name="view_records" value="1">

That oughta do it.


------------------
JPD