• 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: Sam Barnum <email@hidden>
  • Date: Wed, 26 Apr 2006 09:05:06 -0700

You can also use a regular submit button and hide it using CSS. Make this the first button in your form:

<input type="submit" style="position:fixed;visibility:hidden;"/>

Pressing enter will now trigger this button, which isn't dynamic, so shouldn't do anything (as long as the form action is not set).

Note: using display:none in your CSS will effectively disable the button, which means the next submit button after it would become the default. If you only set visibility to hidden, the button still takes up space. Changing to fixed position means it doesn't take up any space.

I don't think the blank tabindex is needed since the button is hidden, but it probably wouldn't hurt.

On Apr 25, 2006, at 3:00 PM, Paul Lynch wrote:


On 25 Apr 2006, at 22:13, Chuck Hill wrote:


On Apr 25, 2006, at 2:03 PM, Paul Lynch wrote:

My favourite submit button related glitch is when you use a button inside a repetition, and your web designer set an id or name tag (one or the other, I forget which) for the button, causing WO to treat them all the same as if the first button in the repetition was clicked.


It is the name and this affects any form inputs of any sort in a repetition. For inputs, it only takes one value. I still clearly remember the first time I hit this, years ago. I was new to WO and thought I was losing my mind.

Thanks.

I am sufficiently paranoid now that I check for this whenever I get html created by a web designer, as well as other favourites, like including a form tag that doesn't wrap the items it needs to submit, etc.

Paul

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40prometheus-systems.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: 
 >Re: multiple submit - possible workaround advice (From: WebObjects <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Robert Walker <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Mark Morris <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Robert Walker <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Paul Lynch <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Chuck Hill <email@hidden>)
 >Re: multiple submit - possible workaround advice (From: Paul Lynch <email@hidden>)

  • Prev by Date: Re: fetch loop
  • Next by Date: Custom PopUp Problems
  • Previous by thread: Re: multiple submit - possible workaround advice
  • Next by thread: Second d in .eomodeld
  • Index(es):
    • Date
    • Thread