Question

I have 3 individual checkboxes on my Power Apps form and would like to retrieve one value of the 3 checkboxes.

Currently I'm doing the below:

If('chkAll_1'.Value = true,'chkAll_1'.Text,"") Or If(chkExternalEvent_1.Value = true,chkExternalEvent_1.Text,"") Or If(chkTeam_1.Value = true,chkTeam_1.Text,"")

But its not working and ideas what I'm doing wrong?

Était-ce utile?

La solution

Not clear what you are trying to do with 3 checkboxes. But try using:

If('chkAll_1'.Value = true, 'chkAll_1'.Text, If(chkExternalEvent_1.Value = true, chkExternalEvent_1.Text, If(chkTeam_1.Value = true, chkTeam_1.Text, "")))

Microsoft documentation: If function in Power Apps

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top