Form Question

Results 1 to 2 of 2

Thread: Form Question

  1. #1
    Join Date
    Dec 1969

    Default Form Question

    Is there a way of using carriage return to run a search, instead of clicking on the submit button of a form ?<BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Form Question

    That&#039s browser-dependent. As a web developer, you can&#039t change that. Most browsers, if there is a text box, or series of text boxes, will allow the enter key to serve as a submittal of the form.<BR><BR>Also, you can try to use client-side JavaScript to trap the enter keystroke and have it submit the form. I strongly suggest against this for two reasons - the code is ugly (I&#039ve seen code that did this), and users are use to submitting HTML forms in a certain way.<BR><BR>Happy Programming!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts