Re: Multiple submit in one Form
Re: Multiple submit in one Form
- Subject: Re: Multiple submit in one Form
- From: "Jerry W. Walker" <email@hidden>
- Date: Fri, 24 Jun 2005 11:19:16 -0400
Hi, Sako,
I've dealt with this in the past with a hack. I make the first
submit button in the form a WOActiveImage and provide a 1X1 pixel
image that blends with the background of the form. I bind the action
attribute to the same action method as the submit button.
This is a hack, but most browsers will trigger the first button in
the form, so it tends to work. To provide a more robust solution, you
would have to use JavaScript or other client side logic.
Regards,
Jerry
On Jun 24, 2005, at 11:07 AM, email@hidden wrote:
Hello,
Multiple submit in one Form works by setting the attribute
multipleSubmit
into true.
I have WOTextField in the form. After the user types some text in
the filed
and clicks on the submit, everything goes fine.
The problem is when the user types a text and presses ENTER. In
this case
the first submit will be executed and not the submit near the
WOTextField.
Opera can execute this multiSumbit actions correctly, while IE or
FireFox do
not.
Hope any can give me a hint, how can i force all browsers to
execute the
correct Submit with ENTER.
pea Sako e.
Sako.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40codefab.com
This email sent to email@hidden
--
__ Jerry W. Walker, Partner
C o d e F a b, LLC - "High Performance Industrial Strength
Internet Enabled Systems"
email@hidden
212 465 8484 X-102 office
212 465 9178 fax
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden