• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple submit in one Form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple submit in one Form


  • Subject: Re: Multiple submit in one Form
  • From: Amedeo Mantica <email@hidden>
  • Date: Fri, 24 Jun 2005 18:11:04 +0200

Yes, also I solved the problem putting the Submit nutton before the Cancel.

If you want to implement a Javascript check you have to trigger the "onsubmit" in the form

form name="myForm" etc, etc.. onsubmit="javascript:doMyCheck();"

Amedeo

On 24/giu/05, at 17:19, Jerry W. Walker wrote:

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:
40macintossicati.com


This email sent to email@hidden


_______________________________________________ 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
References: 
 >java.net.SocketException: Broken pipe?? (From: Daniel Muller <email@hidden>)
 >Multiple submit in one Form (From: email@hidden)
 >Re: Multiple submit in one Form (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: binding trouble
  • Next by Date: Re: binding trouble
  • Previous by thread: Re: Multiple submit in one Form
  • Next by thread: Re: java.net.SocketException: Broken pipe??
  • Index(es):
    • Date
    • Thread