Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
8 subscribers
Views
1180 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hello Everyone, Does anyone know if it's possible to determine wh
Jin Pheh
Certified Associate Developer
over 11 years ago
Hello Everyone,
Does anyone know if it's possible to determine which field caused the validation error when using the 'failedValidation' event on user input tasks?
I have a large form with several tabs and validation errors on all non-selected tabs are hidden until a user visits that tab. I am trying to provide a more meaningful validation error message than "Check all your inputs"....
OriginalPostID-69144
OriginalPostID-69144
Discussion posts and replies are publicly visible
Parents
0
Jin Pheh
Certified Associate Developer
over 11 years ago
Thanks for the link Eduardo. If I understand your link correctly you are suggesting I move the validation logic from the fields to the form 'failedValidation' event directly and then focus on the specific element or display a tailored message from there.
While this work around will definitely work am I correct in inferring that it's not possible to pull a list of fields that failed validation from within the 'failedValidation' event without replicating the validation logic there?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jin Pheh
Certified Associate Developer
over 11 years ago
Thanks for the link Eduardo. If I understand your link correctly you are suggesting I move the validation logic from the fields to the form 'failedValidation' event directly and then focus on the specific element or display a tailored message from there.
While this work around will definitely work am I correct in inferring that it's not possible to pull a list of fields that failed validation from within the 'failedValidation' event without replicating the validation logic there?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data