RE: Problem with LookupDispatchAction and pressing ENTER in a text

2002-11-21 Thread Jorge Ruben Macias Lopez
I think there's an even handler in the html:form tag which lets you assign
a javascript action to be executed when the form is submitted.

-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Enviado el: Jueves, 21 de Noviembre de 2002 01:07 p.m.
Para: [EMAIL PROTECTED]
Asunto: Problem with LookupDispatchAction and pressing ENTER in a text


Pressing  'Enter' inside a text form, the form is submited, 
and the 'method' parameter  that is the name of all my submit buttons,
takes no value,  and  so the LookupDispatchAction fails

Any solution?

Thanks.

Example



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Problem with LookupDispatchAction and pressing ENTER in a text

2002-11-21 Thread Andrew B Forman
sounds like you only have one input of type text on your form.
believe it or not, this is actually a feature =)
http://ppewww.ph.gla.ac.uk/%7Eflavell/www/formquestion.html


what you'll want to do is either inhibit the enter press
or put a hidden inside the form that duplicates the
default method.  another option is to put an additional
text entry field on the form, then the insta-submit feature
won't fire.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 1:07 PM
 To: [EMAIL PROTECTED]
 Subject: Problem with LookupDispatchAction and pressing ENTER in a text
 
 
 Pressing  'Enter' inside a text form, the form is submited, 
 and the 'method' parameter  that is the name of all my submit buttons,
 takes no value,  and  so the LookupDispatchAction fails
 
 Any solution?
 
 Thanks.
 
 Example
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]