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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard