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 / Error message for unch...
Power Apps
Unanswered

Error message for unchecked box if required

(0) ShareShare
ReportReport
Posted on by 7

Hello,

 

I have a checkbox that is only required if datacardvalue1 = "new". That same checkbox is also only visible if datacardvalue1 = "new". I have found that even though the field is required, it doesn't provide an error message if the checkbox is left blank. How can I make this checkbox required only if datacardvalue1 = "new" and prevent the user from saving the form until the box is checked?

 

Thanks in advance

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Ok... So there is no way that a checkbox is null or not because when it is "blank", it will say that the value of the checkbox is false.

    You can try this on default mode:

    If(Form.DisplayMode = New, true, false)

    Not sure if my typing is correct but it should be something like that

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard