PDA

View Full Version : use a picture in form for submit



optimizemy.com
11-30-2004, 12:23 PM
How do I use a picture in a form to choose to submit the form vs. using a text box?


Also - is there a way to search these forums - Call me blind but I cannot find the search button.


thanks a bunch

paulhiles
11-30-2004, 03:55 PM
Hi there optimizemy.com

Welcome to WebProWorld!


How do I use a picture in a form to choose to submit the form
Do you mean using an image as a "submit" button? If so, there's a code snippet below:

<input type="image" name="Submit" src="/images/submitbutton.gif" alt="Submit" />

and for your reference, the "Quick Search" and "Advanced Search" (http://www.webproworld.com/search.php) are located at the top right hand of the page.

Hope that helps!

Paul

vivekar
11-30-2004, 08:01 PM
You can use the querystrings to pass the variables to your form.
It is very easy and simple.

Like
[a href=dog.php?mydog=999>[img src="dog999.jpg"></a>

{
< tag intentionally changed to [
}