dynamic readonly
dynamic readonly

I want some fields to be read-only depending on another field value.
{
name: "FundOrgDeptGroup_Detail.UsesLAN", type: "checkbox",
options: [{ label: "Uses LAN" , value:1}],
separator: '',
unselectedValue: 0
},
So if FundOrgDeptGroup_Detail.IsLocked = 1 then I want the field above (and other fields) to have type: "readonly"
Is this possible?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This example from this thread should help.
In that example it's changing the field type between
select
andtext
(the default) based on a value, yours would be doing the same, but changing the field type to bereadonly
,Hope that helps,
Colin