XF 2.1 Disabling all form elements

CMTV

Well-known member
Hi!

I want to disable all inputs, selects, textareas in certain div inside form tag.

It is important to note, that I am using <xf:numberboxrow and similar code to create form fields.

How can I do this?

Is the following code correct?
JavaScript:
this.$options.find(':input').prop('disabled', true);
 
Top