@oappdev
I feel like the only method do this is the tedious and long way... You would add this code to the OnSelect property of your submit button. Of course, I only did the first few fields but you would need to do them all
My assumption is the error message is only Visible when there is an error.
Set(errorCount,
If(lbl_errorMsg1.Visible,1,0)
+ If(lbl_errorMsg2.Visible,1,0)
+ If(lbl_errorMsg3.Visible,1,0)
+ If(lbl_errorMsg4.Visible,1,0)
...
+ If(lbl_errorMsg17.Visible,1,0)
)
To reference the number of errors you would put this code in the Text property of a label (or elsewhere in your app)
errorCount
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."