Hi there,you can actually use a recursive method, if you haven't found
anything that suits your request...*Sorry, modified the function, there
was a few errors in the previous function I providedThis will only set
all visible fields to readOnly... But even if the fields are readOnly,
their events can still be triggered.To avoid events to trigger even in
readOnly, you can set their access property to "nonInteractive" instead
of "readOnly"Hope this help!