I am dealing with several field names that follow the pattern: 'Field1_ro', 'Field2_ro', 'Field3_ro'...
Is there a more efficient way for me to make all fields containing 'ro' read-only without having to manually set each one like in the code snippet below?
document.getElementById('Field1_ro').readOnly = true;
document.getElementById('Field2_ro').readOnly = true;
document.getElementById('Field3_ro').readOnly = true;