Gossamer Forum
Home : Products : DBMan : Installation :

Unknown error when user presses enter

Quote Reply
Unknown error when user presses enter
I know I saw this before but I now can't seem to locate the thread.

How do you prevent a user from getting this error when the "Enter" key is pressed in a text field

Quote Reply
Re: Unknown error when user presses enter In reply to
The problem is that the script needs the information from the submit button. If you press enter, then the submit button is not transmitted. The work around is to add a hidden field with the same name as the submit button. i.e.:

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

Hope this helps,

Alex