Skip validating when the form item is invisible
Hi there,
At the moment if a form item's validate event is customised, the validation will be triggered regardless the item's visibility state. So in my solution I have to put an IF statement to skip the validation when the item is hidden. I'm wondering if i'm doing it right or i'm missing something.
I thought it would make more sense if validation could be ignored automatically when item is not visible. Though I understood in some cases there's need to validate hidden items, but personally in most my workflows when an item is hidden it means 'Don't worry about it'👌
0
Please sign in to leave a comment.
Comments
0 comments