Notifications
Announcements
Hi ,
I have radio buttons and a button as shown below.
I want that if user clicks the blue button then the radio button should automatically select the "Yes" option.
Can anyone help please?
Hi,
You can follow below steps -
Assuming your Items property of Radio is ["Yes","No"]
Use this formula to set variable varRadio on button's OnSelect property = Set(varRadio, true)
Use this formula on Default property of Radio control to set Radio control to Yes option when the button is clicked = If(varRadio, "Yes","No")
On screen visible property you can set varRadio to false
This is wokring but one thing is there,
If we change the value of radio button "no" manually, then if we click the blue button then it didn't worked
In OnChange property of your Radio input control, try adding this formula = If(Self.Selected.Value="Yes", Set(varRadio, true), Set(varRadio, false))
Thanks, I just did the same. It is working fine
Glad it worked 🙂
If the above solution solved your problem then you can click on Accept as Solution below so that it will help others.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268