Use of 'elements'

Hi,

quite often I am using constructions like

“forms.frm_autor_detail.elements.txt_vorname.enabled = false;” in my code.
Now I get warnings for these cases
”Description Resource Path Location Type
The property elements is private frm_autor.js /NG_BIB/forms line 33 JavaScript Problem”

Is there a way to avoid the warnings?

Thanks for help
Ralf

Hi Ralf,

you can change the Encapsulation property of your form frm_autor_detail from Hide Elements to false.
This should make the warning go away.

Hi Viktor,

sorry, warnings are still there.
Any other idea?
Best
Ralf