Question
Sorry but here's my question again because I already used the code just with different name for the ErrorLabel variable. In PowerApps Canvas App I
Sorry but here's my question again because I already used the code just with different name for the ErrorLabel variable. In PowerApps Canvas App I have a gallery with 8 records textinputs that sets the bordercolor to Red if the entered value is not between Min and Max.
Now I want to show an ErrorLabel outside this Gallery if one of the textinput bordercolor = RED. The problem is the variable is switching to true and then false foreach record but even If 1 record has wrong value the Error should be visible. Now if the other record is true then the Error variable is set to false. Please see image attached after the wrong value 0 if we put correct value then the ErrorMessage Dissapears. So maybe we need to do a Count or ForAll gallery.AllItems on the ErrorLabel or somewhere in the Gallery?
What I code on the onchange property of the Gallery TextInput:
With( { AntArrBeamMin: LookUp( AntennaArrayBands, AntennaArraySpec.Id = ThisItem.Id ).BeamTiltMin, AntArrBeamMax: LookUp( AntennaArrayBands, AntennaArraySpec.Id = ThisItem.Id ).BeamTiltMax }, If( IsBlank(txtAntArEditSector_1.Text) || (Value(txtAntArEditSector_1.Text) Value(AntArrBeamMax)), UpdateContext({varShowMessageError:true}), UpdateContext({varShowMessageError:false}) ) )
Electrical tilts must be within the beam tilt range of the Antenna Array
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started