8 months ago

enable inputs and add required attribute

Posted 8 months ago by mDelshad


i have a select box that have two item (enable , disable) and three input

i want when the user select enable, each input be enabled and add Required Attribute to them.

And vice versa if select disable, each input be disabled and remove Required Attribute from them

can you help me

Please sign in or create an account to participate in this conversation.