Without seeing your code I cant say 100%, but when a form is submitted (either through clicking submit or hitting the enter key), the textbox form field should always be present.

Aaron

----- Original Message -----
From: Rick Faircloth
To: CF-Talk
Sent: Wednesday, July 28, 2004 2:08 PM
Subject: RE: Text Input Field Data not recognized with use of Enter key

Hi, Aaron...

So you're saying that the textbox field value is not being passed
and the "Search" button value is?  That makes sense, because
if the "Search" button value was not being passed, the form and none
of its fields would be processed.

That still leaves a problem...if a user fills in the textbox field, and
doesn't click out of the field before hitting the Enter key, then the
textbox value isn't passed...at least that's what happened when I tested.

It seems they'll just have to be instructed to use the Search button for
submitting
the form and not the Enter key...

Rick

  -----Original Message-----
  From: Aaron DC [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 27, 2004 11:40 PM
  To: CF-Talk
  Subject: Re: Text Input Field Data not recognized with use of Enter key

  You dont have to - just check for the existence of the textbox field.

  Aaron

  ----- Original Message -----
  From: Rick Faircloth
  To: CF-Talk
  Sent: Wednesday, July 28, 2004 1:41 PM
  Subject: RE: Text Input Field Data not recognized with use of Enter key

  Hi, Matthew, and thanks for the reply...

  You're right...the action is dependent upon the "Search" button value
being
  passed.
  I guess the solution is to pass another value that will be passed if the
  Search button
  is clicked or the Enter key is hit.  I guess a hidden field would do the
  trick...

  Thanks, again...

  Rick

    -----Original Message-----
    From: Matthew Walker [mailto:[EMAIL PROTECTED]
    Sent: Tuesday, July 27, 2004 6:07 PM
    To: CF-Talk
    Subject: RE: Text Input Field Data not recognized with use of Enter key

    When the button is clicked, the associated button value is passed to the
    form handler. When enter is hit, the button value is not passed.
  Apparently,
    your handler page is relying on that button value.

      _____

    From: Rick Faircloth [mailto:[EMAIL PROTECTED]
    Sent: Wednesday, 28 July 2004 7:22 a.m.
    To: CF-Talk
    Subject: Text Input Field Data not recognized with use of Enter key

    Why would a form which has a Text Input field for keywords not
    put the keywords into play on the action if the Enter key is used
    to submit the form instead of the "Submit" (in this case "Search")
    button is clicked?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to