web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Howt to select a radio...
Power Apps
Unanswered

Howt to select a radio button option through a button click?

(0) ShareShare
ReportReport
Posted on by 4

Hi ,

 

I have radio buttons and a button as shown below.

ArshbirSandhu_0-1663164374979.png

I want that if user clicks the blue button then the radio button should automatically select the "Yes" option.

 

Can anyone help please?

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    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

  • ArshbirSandhu Profile Picture
    4 on at

    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

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    In OnChange property of your Radio input control, try adding this formula = If(Self.Selected.Value="Yes", Set(varRadio, true), Set(varRadio, false))

  • ArshbirSandhu Profile Picture
    4 on at

    Thanks, I just did the same. It is working fine

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard