cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shaswat
New Member

Validate values selected in a multi select drop down

Hi,

 

I am creating a canvas app for User access management of a specific application. User enters details into a form which stores data in a SharePoint list and then an approval mail is triggered and upon approval the application support team provides users access to the application based on data stored in SharePoint list .

 

There is a Security groups field which specifies which group the user wants to be added in the application (I have kept the security group field as Multi select Drop Down). Users can only request access to security groups based on the below matrix:

Shaswat_0-1595315781508.png

For example, A user can only request for access in the security group FO, TE and MO but not BOS, BOC or BOA.

 

I want to show an error message if a user selects security groups other than the above mentioned rules.

 

Is there a way in powerapps to validate the selection?

 

Thanks in advance.

1 REPLY 1
jlindstrom
Super User
Super User

Your matrix doesn’t make sense because it has the same categories on the top and the side. Is there some kind of user association with a group that can be used for validation?

 

if there is, why not just present the valid options to the user in the drop down? If there is a list or something that can be used to validate the appropriate groups, you can use that same logic to build the list of options for the app when the user runs the app

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

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (101,140)