cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,158)