Get Current Object #456
Joshua Milligan (sgtcmofo)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a list of database items that are of class DbElement. I need to build an error message specific to the element being validated and looping through each element isn't viable as some may be dependent on an element in the elements list. How can I get the "Expected Console Results" I am looking for, with this current setup. Or is it not possible.
Expected Console Results
"Failure: The value provided for (Street Name) exceeds maximum allowed length of 25. ",
"Failure: The value provided for (Age) exceeds range of 1 to 50."
Rules.Json File Contents
All reactions