cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CABIRD
Post Patron
Post Patron

Radio button On Select Text Input visible

Hi

 

I thought adding radio buttons linked to SharePoint List would be relatively easy. 

SP CheckList image below.

SPChecklist.jpg

 

Below Power App screen image with three radio buttons.

 

RadioButtonsComments.jpg

Objective

If user selects 'Fail' radio button - Description (text-input [comments]) visible and label 15 (Thermostat) label fill colour red.

 

If user selects either 'Pass' or 'NA' radio buttons - Description (text-input [comments]) remains invisble and label 15 (Thermostat) label fill  colour green.

 

I think I have worked out how to configure SharePoint list to Radio buttons.  I'm still developing my understanding before developing a test app. 

 

Thank you. 

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @CABIRD,

 

What is your current situation?

 

According to your description, the formula should be easy to implement.

First for the Comments visible.

If(Radio2.Selected.Value="Fail:",true,false)

For the color of Label 15, which property you would like to display as green or red, the background, or the text within the Label?

 

For the backgroud, configrue the Fill property:

Switch(Radio2.Selected.Value,
"Fail:",Color.Red,
"Pass:",Color.Green,
"N/A:",Color.Green,
Color.White)

Image reference:

VisibleColor.gif

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @Michael

 

Thank you taking the time to answer my question. I really appreciate you doing so. 

 

Your solution provides the functionality I seek. Thank you.

 

However, I'm still struggling to connect ["Pass:", "Fail:", "NA:"] to SharePoint list (named Checklist) Pass, Fail, NA. 

 

ThisItem.Pass && Fail && NA;

 

I know I'm probably missing something that is absolutely obvious, and I will be extremely annoyed that I didn't see it for myself if I learn how to correctly write the formula.

 

I eargly await to learn how to correct the gap in my knowledge.

 

Best wishes

Christopher 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,835)