2

I was wondering, how can I use an image to submit a form (click the image to submit)? Also, can that image actually be inside the form field?

2 Answers 2

1

use input type image
http://www.w3schools.com/tags/att_input_type.asp

Sign up to request clarification or add additional context in comments.

Comments

0
<a href="javascript:document.formName.submit();"><img src="path/to/iamge.png"></a> 

Substitute "formName" for the name of your form.

2 Comments

No, that's not what I meant, I know that ! I meant the image that submitts the form is actually inside the form field.
uhm.. okay... it works though. You can use any image to submit any form this way. You can place the image/anchor tag inside the form tags.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.