Menu

Need to change Page 2 button, upload + submit

Help
2010-01-27
2013-06-03
  • Wayne Burkart

    Wayne Burkart - 2010-01-27

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.