Run
Online Code Editor
Example of Reset button disabled
Registration Form
Firstname:
Middlename:
Lastname:
Gender :
Male
Female
Other
Email:
In this example, the disabled attribute is used to disable the Reset button. If you fill the form and then click on the 'Reset a form' button, then it will not reset the values of the above form.
Reset a Form