Is there a way (like an attribute on an element) to 'undisable' a specific element when the parent fieldset
is disabled? Preferable without any JavaScript. If not, what is a good practice to disable an entire form with specific exceptions?
<fieldset disabled>
Name: <input type="text"><br>
<!-- Email shouldn't be disabled -->
Email: <input type="text"><br>
<!-- more fields ... -->
</fieldset>
<fieldset disabled>
is used to disable all field, unless condition given to it. For ex, if you want to remove disable of name text box, then don't give disable in fieldset and using<script>
add rest of the text box as disable. Just a suggestion. – Pear