In the Editor input form, I want to have a read-only field (ideally, no input, but only text) which is displayed conditionally, based on an integer value (this integer is provided by the joined table).
E.g.
if (x=1) > display: Audience: doctors
if (x=2) > display: Adience: patients
1) How can I achieve this result?
(code below doesn't work, and readonly isn't intuitive)
,{
"label": "Audience:",
"labelInfo":,
"type": "readonly"
}
E.g.
if (x=1) > display: Audience: doctors
if (x=2) > display: Adience: patients
1) How can I achieve this result?
(code below doesn't work, and readonly isn't intuitive)
,{
"label": "Audience:",
"labelInfo":,
"type": "readonly"
}