Skip to main content

I have a field editor which has checkbox field (ui-only field)
When this checkbox is checked, I would like to disable fields in field editor (I have input text fields and picklist fields as well)

I gave a dummy css name to fields in field editor .

and tried something like :

 $(“.ca”).each(function(){               
                this.disabled=true;
                console.log(‘disabled . . .’);
            });

This didn’t work.

Any ideas ?


Thank You.
K

You can give a try to this -


skuid.$(‘.ca {display: none}’).appendTo(‘head’);