I have a database field which contains either a Y or N. I want it to display as a checkbox but I don't want it to be directly editable through the UI. The following definition does cause it to display as a checkbox, but it also allows it to be changed even with canEdit="false". Is there some other way to indicate that it cannot be changed, or should I use another method besides editorType="Checkbox"?
Code:
<field name="IREC" type="text" title="Reclassed?" detail="true"
editorType="Checkbox" labelAsTitle="true" canEdit="false">
<valueMap>
<value ID="Y">true</value>
<value ID="N">false</value>
</valueMap>
</field>
Comment