I've never done a form with 2 image buttons meaning submit. But, there is NO way to make an image act like a true clear button of a form. If you want to do this, just link that clear image back to the current URL of the form. It acts like a simple refresh. In what other cases would you have 2 image buttons to submit? If you're talking about multiple sections of a single form with different submit buttons, then yes, I guess you would have to add the name=??? attribute and use JS to determine which one was clicked. But like I said, I've never done that.
-----Original Message----- From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 6:39 PM To: Troy May; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: CGI Form Submit Buttons But what about cases of having two image buttons? Does the one that is clicked default as submit or does this require java script? Regards, Andr� C. Technical Support ԿԬ ---------------------------------------------------------------------------- - Visit our support manual at http://supportmanual.com/ ----- Original Message ----- From: "Troy May" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 9:45 PM Subject: RE: CGI Form Submit Buttons > type="image" defaults to submit within a form. > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 6:34 PM > To: [EMAIL PROTECTED] > Subject: RE: CGI Form Submit Buttons > > > Doesn't this button need a javascript onclick that does a form.submit? Or > should the type be submit? > > -----Original Message----- > From: Troy May [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 6:15 PM > To: Patrick; [EMAIL PROTECTED] > Subject: RE: CGI Form Submit Buttons > > > <input type="image" src="submit.gif" alt="Submit Form"> > > Then just make a submit.gif for what you want to use as the submit image. > > > > -----Original Message----- > From: Patrick [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 5:47 PM > To: [EMAIL PROTECTED] > Subject: CGI Form Submit Buttons > > > Is there any way to change the way a submit button looks on forms and CGI > generated forms. I want to try to have them looking like the other buttons > on my site instead of the standard grey buttons that come as default. > PAT > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
