We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a way I found to do it would be
$('.tab-button').click(function () { $(this).parent('.tab-content') .find('.form-group'). .trigger('blur.yiiActiveForm'); });
But I can't get a return to know if there is any invalid field and it feels hacky
The text was updated successfully, but these errors were encountered:
The solution I came up with was to look for .has-error classes - which is, obviously, additionally hacky...
Sorry, something went wrong.
@Chofoteddy what do you think?
I solved the problem intercepting validation event afterValidateAttribute. I check if the number of non-errors is equal to the number of fields I'm validating. In that case I can go to the next wizard step. Here is the description http://www.devbattles.com/en/discussion/view-943-Yii2,+how+to+run+a+validation+form+manually+and+get+a+result+#.VaDwGfntlBf
afterValidateAttribute
@cyanoboy can you make a PR?
No branches or pull requests
a way I found to do it would be
But I can't get a return to know if there is any invalid field and it feels hacky
The text was updated successfully, but these errors were encountered: