Hi,
In normal forms, we can disable enter key by calling onKeyPress() function
in the form tag.
However, this is not supported in the html:form definition for Struts.
Can anybody give a solution to this ...
Thanks,
Yogesh Chawla
DISCLAIMER: The information in this message is confidential
Chawla, Yogesh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
In normal forms, we can disable enter key by calling onKeyPress() function
in the form tag.
However, this is not supported in the html:form definition for Struts.
Can anybody give a solution
Smirnov [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 2:29 PM
To: [EMAIL PROTECTED]
Subject: Re: URGENT :: Disable enter key in HTML:FORM by using
onKeyPress function
Chawla, Yogesh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
In normal forms, we can disable enter key
On Thu, 20 Nov 2003, Chawla, Yogesh wrote:
Hi,
In normal forms, we can disable enter key by calling onKeyPress() function
in the form tag.
However, this is not supported in the html:form definition for Struts.
Can anybody give a solution to this ...
Your best bet for stopping the user
, December 28, 2002 2:07 AM
To: [EMAIL PROTECTED]
Subject: RE: disable enter key
But the default behavior of Enter in a browser (IE?) is to invoke the form
submission. For example, if you hit Enter on a login page, it acts like you
click the Sing-In button. There is no JS involved.
Regards,
Phillip
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, December 30, 2002 2:27 PM
Subject: RE: disable enter key
Another question:
If I have no submit button. How do I make it that the 'Enter' key triggers
a
JavaScript
Would that work if my control is a password input field ?
Regards,
Daniel
-Original Message-
From: deepak [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 7:41 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: disable enter key
You can use something like
Should work I have not tried it. Just try it out
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'deepak' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 30, 2002 5:12 PM
Subject: RE: disable enter key
Would that work if my control is a password input
This works with input type=text
- Original Message -
From: Daniel Joshua [EMAIL PROTECTED]
To: 'deepak' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 30, 2002 5:12 PM
Subject: RE: disable enter key
Would that work if my control is a password input field ?
Regards
Dumb question. Is it able to disable Enter key without using JavaScript on
any struts-powered page?
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
, 2002 11:59 AM
To: [EMAIL PROTECTED]
Subject: disable enter key
Dumb question. Is it able to disable Enter key without
using JavaScript on
any struts-powered page?
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
--
To unsubscribe, e-mail: mailto:[EMAIL
Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]]
Sent: December 27, 2002 1:03 PM
To: Struts Users Mailing List
Subject: RE: disable enter key
No.
Struts is a server-side platform. It can make client-side
Philip Qin wrote:
But the default behavior of Enter in a browser (IE?) is to
invoke the form submission. For example, if you hit Enter on
a login page, it acts like you click the Sing-In button. There
is no JS involved.
I'm not sure how this changes anything. The Enter on submit
13 matches
Mail list logo