How To Disable Many Input Widget In a Screen at Once?

For example in my screen I have more then 20 Input Widgets, how do I set them enable / disable dynamically without have to set their "Enable" property one by one?

Like can I wrap them with something and just set that wrapper "Enable" property and all the Input Widget within will inherit the property of the wrapper.

Hi Kevin,

You can put the input fields in a field set. Disabling the field set will also disable the elements in it.

Another way can be to use javascript (jquery) to disable all elements of a certain type / class / parent at once.