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

Conditional Field If Selected Dropdown Contains A Value

I need to make a field required based on another dropdown selection.   I have it working on the Required property, but I am wondering if there is a way to search if the Selected.Value contains a word versus if it is equal to an exact value?

 

For instance, if my choice values are:

- White Tiger

- Black Tiger

- Leopard

- Cheetah

I would like to target just the Tiger options.   Instead of:   DataCardValue1.Selected.Value = "White Tiger"   would it be  "Tiger" in DataCardValue1.Selected.Value ?

 

I need to make it conditional if the selected value contains the word "Tiger."

 

Thanks!

1 REPLY 1
CNT
Community Champion
Community Champion

@illmatic IsMatch would be a great function in this scenario.

 

IsMatch(DataCardValue1.Selected.Value, "Tiger", Contains & IgnoreCase )

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,411)