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

Set multiple radio button to YES with Toggle switch.

Hello Team,

 

I have a gallery control and I have added a radio button as sub title in this gallery with YES/NO values.

 

I want set all the radio buttons ( # radio buttons = # of items in the gallery) in this gallery to YES with toggel control (If there is a better control instead of toggel, Please suggest). Please let me know how I can do it. 

 

Thank you for your help in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Set multiple radio button to YES with Toggle switch.

Hi @vshah804 

 

Make the following changes:
 
1) Set the OnVisible property of page:
Set(SelectedValue,"");Set(ResetRadio,false)
 
2) Set the Radio button properties:
Default: SelectedValue
Reset: If(ResetRadio=true,true,false)
 
3) Set the TOggle button properties:
OnCheck: Set(SelectedValue,"Yes");Set(ResetRadio,true)
OnUncheck: Set(ResetRadio,false)
 
With all these changes, the radio button will be reset everytime the toggle is changed to on.MicrosoftTeams-image (76).png

 

Hope this Helps. 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Set multiple radio button to YES with Toggle switch.

Hi @vshah804 

 

Make the following changes:
 
1) Set the OnVisible property of page:
Set(SelectedValue,"");Set(ResetRadio,false)
 
2) Set the Radio button properties:
Default: SelectedValue
Reset: If(ResetRadio=true,true,false)
 
3) Set the TOggle button properties:
OnCheck: Set(SelectedValue,"Yes");Set(ResetRadio,true)
OnUncheck: Set(ResetRadio,false)
 
With all these changes, the radio button will be reset everytime the toggle is changed to on.MicrosoftTeams-image (76).png

 

Hope this Helps. 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

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.

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 (9,167)