Announcements
Hello,
I am trying to generate 'yes/no' answers from two checkboxes and have it show up as 'yes/no' in my data source. I've tried following some other guides, but get stuck. This is probably very simple, but I haven't been able to figure it out.
Thanks!
Hi @TCM
Your scenario is not much clear as you haven't attached anything but still in general scenario you can do following😊
You can patch your checkbox response into database using
Patch(Tablename,Defaults(Tablename),{Yesno:Checkbox1.Value}); note Yesno is my column name in database
and if you want to show this response in the form of Yes/No in gallery then on Text property of the Label you can set
If(ThisItem.Yesno=true,"Yes","No")
Hi @Akash17 ,
Just adding another option if you are using SubmitForm - I do exactly what you are doing (I do not use Boolean fields at all) - here is a section of my Delegation blog with the process.
Thank You @WarrenBelz 😊
Here the image for my app. I've tried both solutions and the code is showing up as an error. I'm not sure where to put Patch(Tablename,Defaults(Tablename),{Yesno:Checkbox1.Value});.
@TCM ,
The code is actually exactly what @Akash17 had for the label but in reverse - it is also in my blog
Patch( Tablename, Defaults(Tablename), { Yesno: If(Checkbox1.Value, Yes","No") } )
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 355 Most Valuable Professional
11manish 209 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2