How to disable entire form
Sometimes it is necessary to show the user html form content, but so that the user does not have the opportunity to change anything on it.
There are different ways to do this, but the simplest is to surround the form with a fieldset tag with the disabled = "disabled" attribute:
<fieldset disabled="disabled">
<form>
<input type="text" name="example" value="123" />
</form>
</fieldset>
Comments