PDA

View Full Version : validate form X personal buttons



felipegm
September 24th, 2003, 03:46 PM
Hi

I managed to make for my site personal buttons in .gif to use with my form.
They work fine with swap to show some action.
the problem is on the validate form behavior, that is not working with this buttons. It just works with the normal IE button.

How can I make the validate form behavior works with a swap button???

Any help???

Thanks

JMS
September 26th, 2003, 11:41 AM
Does that mean you have a rollover image that you want to use to submit your form? If this is the case you need to use some javascript to that onMouseUp to submit "this" form.

something like



onMouseUp="document.thisForm.submit();"


However there is a bit to know to get this working so I suggest looking it up on Google. Here is one example I found with google:

http://www.codelifter.com/main/javascript/formimagebuttons1.html

Cheers
:)