web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps radio button...
Power Apps
Unanswered

PowerApps radio button validations

(0) ShareShare
ReportReport
Posted on by 559

Hi all,

I have a SharePoint list, I'm customizing the form. In my form I have dropdown, formula fields and w.r.t the fields RAG is also there. I have a overall RAG which changes based on the below RAG of the respective fields. The overall RAG can also be changed manually by the user from one color to another. For eg. (When the overall RAG is changed from Red to Amber, it must give a notification stating "Below one of the fields must be Amber to change the overall RAG", if it has amber in one of the field below it will give notification or else it will give the notification). To check the below all rag fields I have assigned a variable to do the validations

(Radio28_1.Default = "Amber" || Radio30_1.Default = "Amber" || Radio29_1.Default = "Amber" || Radio31_1.Default = "Amber" || Radio32_1.Default = "Amber" || Radio33_1.RadioSelectionFill = Orange || Radio34_4.Default = "Amber" || Radio42_3.Default = "Amber" || Radio43_1.Default = "Amber" || Radio45_1.RadioSelectionFill = Orange || Radio83.RadioSelectionFill = Orange || Radio84.RadioSelectionFill = Orange || Radio70.Default = "Amber"),
Update Context({varnewamber1: true}),

I have written this on visible of the page, On change/On select of the dropdowns to validate the fields.

On submit I have written this to validate the condition:

If(
Radio24_2.Default = "Red" && Radio24_2.Selected.Value = "Amber" && varnewamber1 <> true,
Notify(
"Below one of the fields must be changed to Amber",
NotificationType.Warning,
1000
))

But the variable varnewamber1 is not working even the condition is correct.

Any help would be greatly appreciated.

 

Screenshot (6).png
Screenshot (5).png
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard