I have a datacard with two checkboxes. I have the default value of the datacard set to Checkbox1_2.Text||Checkbox1_2.Text. This doesn't work because it just takes the text. My first checkbox is works the other is fails. How can I make it so if the first checkbox is selected the datacard says works and if the other is selected it says fails. I also tried putting DataCardValue4.Text = "Works" on the OnCheck property of the checkbox but that didn't work either.
Solved! Go to Solution.
OnCheck is an action, it is not a property. If you want your Checkbox to default to some other condition, then set the Default property of the Checkbox control to: DataCardValue4.Text = "Works"
I hope this is helpful for you.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.