Re: Using Links for submitting forms
Re: Using Links for submitting forms
- Subject: Re: Using Links for submitting forms
- From: Sam Barnum <email@hidden>
- Date: Mon, 12 Mar 2007 13:18:06 -0700
One more suggestion that I haven't seen yet: use a <button>
You can style this however you want with CSS, and put an image inside
the tag like so:
<button type="submit"><img src="go.png"/></button>
May not be supported by older browsers, but at least your site won't
break if javascript is off. Alternately, make liberal use of the
<noscript> tag.
On Mar 12, 2007, at 12:06 PM, Kevin Windham wrote:
On Mar 12, 2007, at 11:38 AM, Kevin Windham wrote:
I have created some nice looking buttons that use hyperlinks with
some css to create a pleasing effect. ;-)
In order to get these links to submit forms properly I have been
placing WOSubmitButtons in a hidden div and having the link use a
javascript to click the button. Is this a reasonable solution, or
is there a better way to do this.
Thanks,
Kevin
Thanks everyone for the suggestions on alternative methods of
handling this. It seems that there isn't really a clear consensus
on the best way to go, and there doesn't appear to be a "standard"
practice for this either, even though there are a lot of us who
want to submit forms with links. In any case there are several
options available, and mine seems to be a reasonable way to go if
you don't have too many forms with multiple links for submitting.
Is there Wiki FAQ or someplace where questions like this should be
posted for reference?
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40360works.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