Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with a Form Submission

Status
Not open for further replies.

khurram

IS-IT--Management
Jan 10, 2001
95
CA
I have a form submission that if you click the 'Go' button, the search works. However, if you hit the enter button and not 'Go', an error occurs.

Any suggestions?
Khurram
 
Post the specific error you are getting, and I'm sure someone can help you. Calista :-X
Jedi Knight,
Champion of the Force
 
Most likely you have code in your "action" page that looks for the value of your submit button:

<cfif IsDefined('Form.Go')>
.
.
.
</cfif>

What you can do is either define a &quot;hidden&quot; field and check for that value in your action page, or change the name of your submit button to &quot;Submit&quot; (The &quot;submit&quot; field is usually included even when a user simply presses &quot;enter&quot;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top