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

Notifications

Announcements

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.

 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 774 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 335 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 248

Last 30 days Overall leaderboard