Skip to main content
Known Participant
Feb 21, 2023 4:56 PM UTC
Solved

Checkboxs

Hi Experts,

I want to show selected checked box only in read only view . How to show only selected check box when we open the interface in read only view .

Thanks 

davel001150
Inspiring
Feb 21, 2023 5:29 PM UTC

choiceLabels: if(local!isReadOnly, index(local!allTheLabels, wherecontains(local!selectedValues, local!allTheValues), {}), local!allTheLabels),

choiceValues: if(local!isReadOnly, index(local!allTheValues,  wherecontains(local!selectedValues, local!allTheValues), {}), local!allTheValues),

This is how I would start, at least.

3 replies

davel001150
Inspiring
Feb 21, 2023 5:29 PM UTC

choiceLabels: if(local!isReadOnly, index(local!allTheLabels, wherecontains(local!selectedValues, local!allTheValues), {}), local!allTheLabels),

choiceValues: if(local!isReadOnly, index(local!allTheValues,  wherecontains(local!selectedValues, local!allTheValues), {}), local!allTheValues),

This is how I would start, at least.

Known Participant
Feb 22, 2023 6:48 AM UTC

Hi, 

i think you can try this knd of method.

Known Participant
Feb 22, 2023 9:46 AM UTC

Thank you so much for your response . Its working great.