culprit
06-19-2002, 09:37 AM
I've made a new buton set for my vbulletin and extended it to include various form buttons throughout the forum, just to keep the look flowing.
While replacing submit buttons works fine, when I replace any type of reset button the button then submits the form instead of clearing the form fields. I'm using standard HTML conventions for the replacement but with no joy.
I'd also like to replace the 'Change Avatar' button but can't se how to make that work as its button type needs to be 'file' and cannot be change to image. Any ideas on that one?
Anyway here is the code for an example reset button:
Original:
<input type="reset" class="bginput" name="Reset" value="Reset Fields">
Image Replacement:
<input type="image" src="{imagesfolder}/resetfields.gif" name="Reset" value="Reset">
Any help greatly appreciated. Cheers.
While replacing submit buttons works fine, when I replace any type of reset button the button then submits the form instead of clearing the form fields. I'm using standard HTML conventions for the replacement but with no joy.
I'd also like to replace the 'Change Avatar' button but can't se how to make that work as its button type needs to be 'file' and cannot be change to image. Any ideas on that one?
Anyway here is the code for an example reset button:
Original:
<input type="reset" class="bginput" name="Reset" value="Reset Fields">
Image Replacement:
<input type="image" src="{imagesfolder}/resetfields.gif" name="Reset" value="Reset">
Any help greatly appreciated. Cheers.