Expand my Community achievements bar.

SOLVED

identify field read only

Avatar

Level 4

hello there a method to identify whether a field is read only

1 Accepted Solution

Avatar

Correct answer by
Level 10

If you want to check whether the field is readonly at the runtime using the code, you can do so by using the access property of the control.

if(<CONTROLNAME>.access == "readOnly"){

     <do your processing here>

}

Thanks

Srini

View solution in original post

3 Replies

Avatar

Level 7

You can click on the field, then go to the Value tab under Object. In the Value tab there's a drop down list called Type, if the field is read-only, the value in that drop down will say Read Only.

Avatar

Correct answer by
Level 10

If you want to check whether the field is readonly at the runtime using the code, you can do so by using the access property of the control.

if(<CONTROLNAME>.access == "readOnly"){

     <do your processing here>

}

Thanks

Srini