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 / Radio Button default v...
Power Apps
Unanswered

Radio Button default value

(0) ShareShare
ReportReport
Posted on by 37

Hi Guys,

 

I have a simple radio button with two options (Yes, No), the items come from this formula 
Table({key:"",value:"No"},{key:"",value:"Yes"}),

 

I am just wondering how can I set a default value for the radio button since I have key and value parameters as shown,

 

I appreciate your help 

 

 

 

 

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

    Hi @Fado 

     

    Just use Default on radio "Yes"

     

    CaptureRadio.PNG

  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    Hi @Fado ,

    Just needs to be "Yes" or "No"

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Fado Profile Picture
    37 on at

    Hi there, I already did the suggested solution, but whenever I put  in default value "Yes" or "No" 

    I got an empty radio button without any selected value.

     

     think this is due to the table in the radio button item property which I mentioned above , but still don't know to figure this out

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Fado 

     

    Ok try this on Item Property of the radio 

    ["Yes","No"]
  • Fado Profile Picture
    37 on at

    Thank you for the reply, this will work but I have one issue, I can't hide the text "Yes" and "No" in the radio control 

     

    as shown in the attached due to the fact of this I used a table instead.

     

    Thanks

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Fado 

    Sorry I didn't understanding you question, can you please tell me what you need to hide and so on, for example do you need to hide the text label like not to show on the screen  ? 

  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    @Fado ,

    I actually tested it here before I posted and using a multi-field table in a Radio control like you have is unusual

    Items

    WarrenBelz_0-1636615761706.png

    Default

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • Fado Profile Picture
    37 on at

    Hi @Ramole I mean hiding the label of the radio button if I use ["Yes", "No"] in item property,

    Radio_1.jpg

  • Fado Profile Picture
    37 on at

    Thank you, but how did you set the default value for the radio button control, please can you show me the formula 

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    CaptureRadio.PNG

     

    radio button control Default  Use "Yes" or "No" whichever you need to be default 

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