• 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 - possible workaround advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple submit - possible workaround advice


  • Subject: Re: multiple submit - possible workaround advice
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 25 Apr 2006 00:57:47 +0200

Robert,

On 24.4.2006, at 23:54, Robert Walker wrote:

So if one had the need to make it appear that the "default" button should be the second or third button in the form, wouldn't it be possible to create this "hidden" image button at the top of the form and bind its action to the same action as the one you want for your "default" action?

Chuck or someone with greater experience may correct me, but I do fear the behaviour of a multi-submit form when an Enter is pressed in some field is undefined at the HTML level, and essentially each browser may interpret the event in a different way (say, browser A would always take the very first submit of the form, whilst browser B would always take the first button after the textfield in which the Enter was pressed).


Therefore, I am afraid that if you need a consistent behaviour of Enter, there are only two solutions:

(a) single-submit form;
(b) JavaScript.
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: multiple submit - possible workaround advice
      • From: WebObjects <email@hidden>
References: 
 >multiple submit - possible workaround advice (From: WebObjects <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Paul Lynch <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Robert Walker <email@hidden>)

  • Prev by Date: Re: How to selectively save EO
  • Next by Date: Re: How to selectively save EO
  • Previous by thread: Re: multiple submit - possible workaround advice
  • Next by thread: Re: multiple submit - possible workaround advice
  • Index(es):
    • Date
    • Thread