web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Making checkboxes requ...
Power Apps
Answered

Making checkboxes required if other is blank

(0) ShareShare
ReportReport
Posted on by 373

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?

 

leslie_rivera_0-1619215518826.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at

    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.

  • leslie_rivera Profile Picture
    373 on at

    No thats not going to work. I need and IF statement using OR.

    IF checkbox 1y or checkbox 2y is blank

  • Verified answer
    WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at

    @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?

     

    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.

     

  • Verified answer
    leslie_rivera Profile Picture
    373 on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard