cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Prathameshpatka
Helper IV
Helper IV

Make a field required based on another field value

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 ?

1 REPLY 1
JR-BejeweledOne
Super User
Super User

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



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (82,914)