cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ianallen13V2
Helper II
Helper II

Correct or Incorrect field based on selected values

Hello, 

 

I am building a quality assurance form in PA and I have a list of possible errors that one may make.  What I want to do is build a hidden field that shows either 'correct' or 'incorrect' if any of the list items of errors is selected.  I'm sure that this would be pretty easy, but I just cannot think of how to do it right now - but if anyone has any suggestions - all ears.  Currently, I have a hidden field that just counts the number of errors.... but I want to have something that if even one error is counted, it's 'incorrect', but if no errors are counted - then obviously it's 'correct' 

1 ACCEPTED SOLUTION

Accepted Solutions
zmorek
Super User
Super User

You could simply do something like: If(Value(ErrorLabel.Text) > 0 , "Incorrect", "Correct")

 

Or update your current label by wrapping the If() statement around the existing statement:

If([your existing statement] > 0 , "Incorrect", "Correct")

View solution in original post

2 REPLIES 2
zmorek
Super User
Super User

You could simply do something like: If(Value(ErrorLabel.Text) > 0 , "Incorrect", "Correct")

 

Or update your current label by wrapping the If() statement around the existing statement:

If([your existing statement] > 0 , "Incorrect", "Correct")

View solution in original post

ianallen13V2
Helper II
Helper II

This worked!!  

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,424)