Announcements
I am building a canvas power app with a Yes or No columns with check boxes. I want to make it so users are forced to pick either yes or no for each question. Basically making checkbox 1 required if checkbox 2 is blank or vice versa.
How can I enforce that without disabling?
Hi @leslie_rivera ,
Have you thought of making a Radio control with Yes and No as the options and making input required?
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
No thats not going to work. I need and IF statement using OR.
IF checkbox 1y or checkbox 2y is blank
@leslie_rivera ,
I understood that you simply want to test that one is filled in. A Radio control with two values, you simply need to say
If( IsBlank(RadioName.Selected.Value), . . do whatever . . . )
I use this one regularly for exactly what you described and it simply enforces that a choice has been made.
Am I missing something here?
Thanks!! I got it to work on the DisplauMode property of my submit button
If(IsBlank(DepartmentField.Text) || IsBlank(Q1.Text) || IsBlank(Q2.Text) || IsBlank(Q3.Text)|| IsBlank(Q5.Text) || IsBlank(Q6.Text) || IsBlank(Q7.Text) || IsBlank(Q8.Text),DisplayMode.Disabled,DisplayMode.Edit)
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 366 Most Valuable Professional
11manish 184
MS.Ragavendar 99 Super User 2026 Season 1