Announcements
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.
@Anonymous
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.
Hi @Anonymous ,
I assume the below If statement won't work then?:
If(Checkbox1_2.Value=true, "Works","fails")
that is how i'd do it 🙂 if this works for you feel free to mark is as a solution!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 846
Valantis 532
Haque 410