cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmitSaraswat
Frequent Visitor

Dropdown onchange want to set radio control value

Hi All,

 

I want to update the radio button control value on change event of dropdown

 

Thanks,

Amit Saraswat

2 ACCEPTED SOLUTIONS

Accepted Solutions
aprildunnam
Power Participant
Power Participant

One way to accomplish this is the following:

 

On the OnChange property of your Dropdown set a variable to denote if the dropdown was changed or what it was set to.  You can do this with UpdateContext({varX:true}).  Then on your radio button Default Value property do an If statement to check the value of that variable and set the default value accordingly.

View solution in original post

v-micsh-msft
Community Support
Community Support

Hi @AmitSaraswat,

 

which part (property) that you would like to update with the Radio button, based on the Dropdown control?

 

The Radio items property, or the actual Selected Value?

 

For the Items property, we could filter the original source with the filter or search funciton, for example, the items property of the Radio control could be configured to:

Filter(Source, Valuepart=Dropdown.Selected.Value)

For the Radio control default selected value, the formula could be configured as below:

If(Dropdown1.Selected.Value="1","1","2")

Let me know if this works.

 

Regards,

Michael

Community Support Team _ Michael Shao
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

3 REPLIES 3
aprildunnam
Power Participant
Power Participant

One way to accomplish this is the following:

 

On the OnChange property of your Dropdown set a variable to denote if the dropdown was changed or what it was set to.  You can do this with UpdateContext({varX:true}).  Then on your radio button Default Value property do an If statement to check the value of that variable and set the default value accordingly.

View solution in original post

v-micsh-msft
Community Support
Community Support

Hi @AmitSaraswat,

 

which part (property) that you would like to update with the Radio button, based on the Dropdown control?

 

The Radio items property, or the actual Selected Value?

 

For the Items property, we could filter the original source with the filter or search funciton, for example, the items property of the Radio control could be configured to:

Filter(Source, Valuepart=Dropdown.Selected.Value)

For the Radio control default selected value, the formula could be configured as below:

If(Dropdown1.Selected.Value="1","1","2")

Let me know if this works.

 

Regards,

Michael

Community Support Team _ Michael Shao
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

Hi @AmitSaraswat,

 

Do you need any further help on this topic?

 

Regards,

Michael

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

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

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

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

Top Solution Authors
Top Kudoed Authors
Users online (53,952)