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?

Seems logical....

On Apr 24, 2006, at 3:52 PM, Paul Lynch wrote:


On 24 Apr 2006, at 20:48, WebObjects wrote:

Because I have multiple submit buttons in my form, there is always the change that a carriage return may inadvertently trigger the form to fire, and it seems that it will choose the first submit button in the form as the one to receive action/focus. Because of this I’ve put a harmless (pointless) Submit button early in the form. However, it looks terrible having an element that doesn’t serve a real purpose or belong there.

I’m considering creating an image-submit button, making it a transparent .gif, and thus dispensing of the eyesore. My question before going through the trouble of doing this - will it work? Will this item get focus as do the traditional Submit controls?

WOImageButton works fine - can be transparent, 0x0 size, etc.

Paul

--
Robert Walker
[EMAIL PROTECTED]

There are 10 types of people in the world, those who count in binary, and those who don't.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to