Hi Folks
I have a following warning and am not sure if I can ignore it, or why or how to fix it.
The property readOnly is undefined for the type RuntimeComponent
Appears on line "elements[allNames[i]].readOnly = false" only
Taken from Solution Sample originally.
Example
var allNames = elements.allnames
for ( var i = 0 ; i < allNames.length ; i++ )
{
//work on fields only - starting with name "fld_"
if(allNames[i].indexOf('fld_') >= 0){
//if it's a field - then change color and make editable
elements[allNames[i]].bgcolor = '#feffe4'
elements[allNames[i]].enabled = true
elements[allNames[i]].readOnly = false
}
Thanks Mark