Gossamer Forum
Home : Products : DBMan : Installation :

Error if user hits "Enter" or "Return" key

Quote Reply
Error if user hits "Enter" or "Return" key
I chopped down quite a lot of the script for a very simple database I'm working on. Now if the viewer hits the "Enter" or "Return" key an error is produced - he/she must click on "Submit" to get results from database.
What could I done wrong?


==
<a href="http://www.bulknamesregister.com">www.bulknamesregister.com</a>
Quote Reply
Re: Error if user hits "Enter" or "Return" key In reply to
This has been discussed a number of times before. If you search for submit return button in this Forum, you might find relevant Threads...BTW: I have found no solution to this problem.

Regards,

Eliot Lee
Quote Reply
Re: Error if user hits "Enter" or "Return" key In reply to
Big thanks for pointing me in the right direction AND an EVEN BIGGER THANKS to JPDENI for posting this previous reply:
========================================================
If you add a line to your form
<input type="hidden" name="view_records" value="1">
hitting the enter key should work.
(That is, if I remember correctly.)
=========================================================

All works extremely well now and I am a happy chappy
regards
Doug

==
<a href="http://www.bulknamesregister.com">www.bulknamesregister.com</a>