Page 1 of 1

Submit a form using hyperlink not button??

Posted: Sat Apr 17, 2004 10:09 pm
by Chris Corbyn
Hi,

Does anyone know how you can use a hyperlink to send all the form data instead of using a submit button?

Basically I wanted to use an image as the submit button but I also wanted the cursor to switch to the classic hyperlink pointer on mouseover.

Thanks :-)

Posted: Sat Apr 17, 2004 10:15 pm
by mikusan
You can use an image as your submit button, that's just basic HTML. I don't have the code handy, but this is not PHP.

Sending forms over POST variables is much more efficient than clogging up your address bar.

Posted: Sat Apr 17, 2004 11:54 pm
by Bill H

Code: Select all

<input type=image src="images/ab_add.gif">