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
Super User
Super User

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

 

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

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (5,271)