Skip to main content
Community site session details

Community site session details

Session Id : E+x4EEsllEm/hqo0V+LYls
Power Apps - Building Power Apps
Answered

Need text to show when radio buttons blank

Like (0) ShareShare
ReportReport
Posted on 12 Sep 2023 13:38:57 by 28

I have a radio button control on my app but I want this text label to show when nothing is selected on the radio button. Then have the text go away when someone makes a selection. 

Right now I have the below in my OnSelect field of the radio control: 

If(Radio1.Selected.Value=“Fifth Floor”,”Sixth Floor”,”Seventh Floor”, “Tenth Floor”, Set(Var_Visible,true),Set(Var_Visible,False))


This is what I have in the Visible field of the text: 

Var_Visible 

 

Now my text doesn’t show at all whether something is selected in the radio control or not. 
Please Help! 

  • nsjohnson86 Profile Picture
    28 on 12 Sep 2023 at 15:40:41
    Re: Need text to show when radio buttons blank

    That worked! Thank you for answering all my questions! 

  • Verified answer
    BCBuizer Profile Picture
    22,262 Super User 2025 Season 1 on 12 Sep 2023 at 15:34:06
    Re: Need text to show when radio buttons blank

    Hi @nsjohnson86 ,

     

    Apologies, I got confused because of the formula you posted which seemed to suggest you wanted the text to show in case certain values were selected in the Radio control.

     

    To only have a control showing when nothing is selected in the radio control, set its' Visible property to:

    IsBlank(Radio1.Selected.Value)
  • nsjohnson86 Profile Picture
    28 on 12 Sep 2023 at 15:06:52
    Re: Need text to show when radio buttons blank

    I corrected my formula and put exactly what you have, but I want the text to not be visible when a radio button is selected. 

    It is still there when I select any of the floor options. 

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 1 on 12 Sep 2023 at 14:54:52
    Re: Need text to show when radio buttons blank

    Hi @nsjohnson86 ,

     

    The double lines ( || ) are logical Or operators and should be left there as they are. Please copy the formula as I posted it.

  • nsjohnson86 Profile Picture
    28 on 12 Sep 2023 at 14:36:14
    Re: Need text to show when radio buttons blank

    That didn’t work, I just get an error. 
    I put the condition as you put above and put commas where you put the double lines. 

    I also left the visible field as var_visible for my text 

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 1 on 12 Sep 2023 at 14:18:06
    Re: Need text to show when radio buttons blank

    Hi @nsjohnson86 ,

     

    Indeed the If function is indeed not needed. You can replace your current formula for the OnSelect property of the radio control with the formula I posted.

  • nsjohnson86 Profile Picture
    28 on 12 Sep 2023 at 13:58:57
    Re: Need text to show when radio buttons blank

    So I don’t need the IF part of my condition in the beginning? Is what you put above what I should change my radio button condition to? 

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 1 on 12 Sep 2023 at 13:53:53
    Re: Need text to show when radio buttons blank

    Hi @nsjohnson86 ,

     

    The conditions were not correct since the first half was missing on the last 3.

     

    Also the conditions themselves return a boolean which you can use to set the value of the variable:

     

    Set(
    	Var_Visible,
    	Radio1.Selected.Value="Fifth Floor" || 
    	Radio1.Selected.Value="Sixth Floor" || 
    	Radio1.Selected.Value="Seventh Floor" || 
    	Radio1.Selected.Value="Tenth Floor"
    )

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading started