Clear Button for signature pad

I have a functioning signature pad. I do not know how to create a clear button. I am a reseller for a document imaging company. They gave me the step by step information to create the signature pad, but not the clear button. When I asked for that documentation, I was referred to Thomas J. Bradley site. I write html forms and know just enough javascript to get by. Any help would be appreciated. Thanks.

Do you mean this…?

<input type="reset" value="Reset">

The clear button that is used in HTML clears the input fields in a form. I need the jquery scripts that will clear the signature pad.

And did you?

clearCanvas() 	  	void 	

Clears all the drawn elements off the canvas and redraws the background colour and signature line

I went to the site, but my knowledge is limited.

I use this to validate my form. .

Would I code the clear button this.

I would also have to have the function defined in my javascript file.

Looks like my privileges do not allow me to post code. In my submit tag I use onclick to call the javascript function to validate my forms. Would I use the onclick in a reset button to call the clearCanvas() function?

I’m not familiar with signature pad, but my guess would be yes. At least that’s what looks like needs to be done.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.