The form property obtains the name of the form that contains the Reset button. Example of the reset form property Enter Name: Enter Phone: onClick='alert("The form name is: " + document.form1.resetbutton.form.name)'>