Enable/disable every input in payment forms

If a payment form contains a select or textarea element it's not disabled when the fields are hidden and are always submitted.