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 / How to make a dependen...
Power Apps
Answered

How to make a dependent field a required field?

(0) ShareShare
ReportReport
Posted on by 7

Hello,

I'm brand new to using powerapps and I've inherited an app and it has some fields which appear depending on what they choose earlier on. 

 

I want to be able to make these dependent fields, required fields but I'm not sure how to change what is already there under required. I've attached what's already in the field. 

 

Would someone be able to help me?

 

Thanks!

 

 

Capture.PNG
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @HAMM1 ,

    You simply need to change the Required to true if they are always 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.

    Visit my blog Practical Power Apps

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    @HAMM1 you can either set the required to true if it should always be true. Or add your IF statement/logic in the required field:

    phipps0218_0-1658126559260.png

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

  • HAMM1 Profile Picture
    7 on at

     

    Thanks everyone. That field already has something in there because these fields only appear after they've picked 'unsafe condition' earlier. Do I need to amend this formula? 

    Capture.PNG

  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    @HAMM1 ,

    That is what you asked to do ? If you want to make it required all of the time, just change that to true

     

    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.

    Visit my blog Practical Power Apps

  • HAMM1 Profile Picture
    7 on at

    Hi @WarrenBelz 

     

    Sorry if I'm not clear. I want those fields to appear only when they've chosen 'unsafe condition' and then be mandatory for them to complete. 

     

    At the moment, the fields appear after they've chosen 'unsafe condition' but they can submit without filling them in. I want to force them to fill in these fields. 

  • Verified answer
    WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @HAMM1 ,

    I assume you are using Patch here as SubmitForm() takes care of this itself (it will not submit). Put this in front of the Save code (add your form name)

    If(
     !YourFormName.Valid,
     Notify("Fields require completion", Error),
     Patch(
     . . . . Your Patch code
     )
    )

     

    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.

    Visit my blog Practical Power Apps

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard