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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard