cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ET5
Level: Powered On

Drop down box

 

Hi.

How to do If Dropdown1.Selected.Value = 2 hour,  then play audio 3?

Thx

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Drop down box

Hi @ET5,

Could you please share a bit more about your scenario?

Do you want to play the Audio (Audio1, Audio2, Audio3, ...) listed within your app based on the selected value within the Dropdown box?

I have made a test on my side, please take a try with the following workaround:1.JPG

 

2.JPG

Set the Items property of the Dropdown control (Dropdown1) to following:

["1 hour","2 hour","3 hour"]

Set the OnChange property of the Dropdown1 to following:

Reset(Audio1);Reset(Audio2);Reset(Audio3)

Set the AutoStart property of the Audio1 control to following:

If(Dropdown1.Selected.Value="1 hour", true,false)

Set the AutoStart property of the Audio2 control to following:

If(Dropdown1.Selected.Value="3 hour", true,false)

Set the AutoStart property of the Audio3 control to following:

If(Dropdown1.Selected.Value="2 hour", true,false)

The GIF screenshot as below:Test1.gif

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Drop down box

Hi @ET5,

Could you please share a bit more about your scenario?

Do you want to play the Audio (Audio1, Audio2, Audio3, ...) listed within your app based on the selected value within the Dropdown box?

I have made a test on my side, please take a try with the following workaround:1.JPG

 

2.JPG

Set the Items property of the Dropdown control (Dropdown1) to following:

["1 hour","2 hour","3 hour"]

Set the OnChange property of the Dropdown1 to following:

Reset(Audio1);Reset(Audio2);Reset(Audio3)

Set the AutoStart property of the Audio1 control to following:

If(Dropdown1.Selected.Value="1 hour", true,false)

Set the AutoStart property of the Audio2 control to following:

If(Dropdown1.Selected.Value="3 hour", true,false)

Set the AutoStart property of the Audio3 control to following:

If(Dropdown1.Selected.Value="2 hour", true,false)

The GIF screenshot as below:Test1.gif

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

ET5
Level: Powered On

Re: Drop down box

That's the solution. Thank you so much!

 

I have a further question base on that.

 

The big concept :

Click "3 hour" from DropDown-list > Start Timer delay > Trigger Audio1 when Timer is done.

 

I can not do it in detail. Could you help me? 

 

Thanks & Regard,

ET5

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (3,739)