Help - Search - Members - Calendar
Full Version: Form
MonsterSmallBusiness Forums > MonsterCommerce > How do I?
krazykickz
Hi,

How do I add my own image to the submit button of one of my forms?

Does anyone remember the last part of the code? I am suppose to put img somewhere in there but do not know where.

I know it is in this part

[CODE]<input type="submit" name="Submit" value="Submit Request Form">[QUOTE]

Someone help me out.

Thanks
ultimatekeychains
Hey Krazy... your not usually one asking for help wink.gif

Change the type="image" and add a src="/imagename.gif". You can also use alt="whatever".

Hope it helps!
krazykickz
Yeah....Lol...I always have some questions to with things in front of my face.


Thanks
krazykickz
I do not need the value part right?
adminguy
KrazyKickz - here is the easiest option for you:


CODE

<input type="image" name="submit" value="submit" src="images/imagename.gif" border="0">


One of the things I might suggest doing would be to put the button image in your theme so that you could also change the button look if wanted when changing store themes, etc, etc. Just a thought. Hope the snippet above helps.

krazykickz
Thanks admin guy it helps a lot!
ultimatekeychains
Sorry I didn't provide a example for ya Krazy. tongue.gif I'll make sure to be more specific in the future biggrin.gif
krazykickz
no yours was still helpful

Thanks biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.