I have a user search form. THe user can search records with one criteria. When they have entered the searching criteria they must click on the submit button to perform the search.
As it is now, if the user enters the serach criteria and pushes <enter> the search doesn't go through... it will only work if they click on the Submit button.
What I would like to know is if there is a way to link the submit button with the input box so when they have entered the criteria they can just push <enter> and this will 'click' the submit button.
I know about tabindex which is very very smiilar to what I want to do, but it doesn't do the job.
Does anyone understand what I'm trying to acheive with this, and can you help??
TIA
tony
As it is now, if the user enters the serach criteria and pushes <enter> the search doesn't go through... it will only work if they click on the Submit button.
What I would like to know is if there is a way to link the submit button with the input box so when they have entered the criteria they can just push <enter> and this will 'click' the submit button.
I know about tabindex which is very very smiilar to what I want to do, but it doesn't do the job.
Does anyone understand what I'm trying to acheive with this, and can you help??
TIA
tony