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 / Make a field required ...
Power Apps
Unanswered

Make a field required based on another field value

(0) ShareShare
ReportReport
Posted on by 319

Hi,

 

I want to make attachments field in the form as mandatory based on the previous dropdown selection as Yes or No. If it's a Yes then the attachments needs to be added. Is there a way I can setup a condition for this ? Also can do it like a message pop in case it's a yes and the user directly clicks on submit button ?

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    You can't actually make a field required.   What you can do is to prevent further action from being taken if the field doesn't have anything in it.

     

    You can add a 5 - pointed star icon, color it red and set it's visible property based on the attachment field being blank and on your submit you can make the submit button disabled if the attachment field is blank.

     

    Here is an article that has a section talking about 'Pop-ups'   https://powerusers.microsoft.com/t5/News-Announcements/You-can-do-Magic-In-Power-Apps/ba-p/831309

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 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard