cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
CABIRD
Level: Powered On

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
Community Support Team
Community Support Team

Re: Radio button On Select Text Input visible

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.
CABIRD
Level: Powered On

Re: Radio button On Select Text Input visible

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,379)