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 ?
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
User | Count |
---|---|
257 | |
108 | |
93 | |
57 | |
40 |