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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,493)