I need to change the button images in my form to the custom images i have created. I tried a couple times to change the buttom images but when i do they stop functioning properly. Here are the 3 lines of code i need to edit:
1. The go to page 2 button;
<input type=button onClick="if (validatePage1()) { collapseElem('mainForm_1'); expandElem('mainForm_2');}" class="mainForm" value="Go to page 2"/>
Here is the src for the button 1; src="imgs/nextbutton.png"
Hello,
I need to change the button images in my form to the custom images i have created. I tried a couple times to change the buttom images but when i do they stop functioning properly. Here are the 3 lines of code i need to edit:
1. The go to page 2 button;
<input type=button onClick="if (validatePage1()) { collapseElem('mainForm_1'); expandElem('mainForm_2');}" class="mainForm" value="Go to page 2"/>
Here is the src for the button 1; src="imgs/nextbutton.png"
2. The file upload button;
<input class=mainForm type=file name=field_10 id=field_10 value="">
Here is the source for button 2; src="imgs/uploadbutton.png"
3. The submit button;
<input id="saveForm" class="mainForm" type="submit" value="Submit" />
Here is the source for button 3; src="imgs/submitbutton.png"
I have tried several different things but the changes effect the form actions. Any help getting this working would be greatly appreciated.
Thank you, Wayne
http://www.webdevelopersnotes.com/tips/html/using_an_image_as_a_submit_button.php3