Image Button on Forms

They have: 372 posts

Joined: Dec 1998

Hello,

I have tried to change the image you see on the "Submit" button on a form that you make, with the coding. Here is my coding. The Submit button works but the reset doesn't, does the same as Submit does.

Know why?

Example form: http://www.1simple.com/contact/

Here is my coding:

 

PS: What do you think of my new look? Any ideas or suggestions?

Thanks for your time!

Curtis Stevens
Simple Solutions

Curtis Stevens
Simple Solutions - Web Hosting Made Simple!
Got Merchant Account? - Free online merchant guide to accepting credit cards!

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

I think when you're using the type="image" tag, all it will do is submit the form- I'm not aware of any way to make it do something else.

BTW as I think I've mentioned the site does look very good Smiling

Brian

They have: 372 posts

Joined: Dec 1998

Thanks!

But it wont work if I change that tag. Is this even possible??? For all you html gurus.

Thanks
Curtis

They have: 61 posts

Joined: Aug 2000

mabey the

type="reset"
'

??????

Just a thought.

AndyB's picture

They have: 344 posts

Joined: Aug 1999

http://www.halfadot.com/freehelp/img-form.htm

does what you want. One image to send, one image (w/mouseOver) to clear. View source, etc, etc.

They have: 488 posts

Joined: Feb 2000

Try this.

They have: 372 posts

Joined: Dec 1998

Hmmm, Thanks for all of your help.

I didn't think this would be such a problem!

Curtis

AndyB's picture

They have: 344 posts

Joined: Aug 1999

I didn't think it was a problem ... because I gave you a link to a page that had a real, live, working example of what you asked for:)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.