Skip to content
New issue

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

Running custom validation 'runCustomValidation' for specific form #52

Open
surendrakashyap opened this issue Nov 18, 2014 · 4 comments
Open

Comments

@surendrakashyap
Copy link

I would like to clarify my question or rather ask. Currently, we have ability to run 'runCustomValidation'. However, we don't specify the form name..this triggers custom validation on all forms. Is there anyway to limit the validation to a specific form. In my situation, I have more than one form in HTML an once controller. I am trying to do SPA. Angular form validation, does distinguish this.

Thank you in advance

@surendrakashyap surendrakashyap changed the title More than one form per JS controller Running custom validation 'runCustomValidation' for specific form Nov 18, 2014
@nelsonomuto
Copy link
Owner

Yes I will immediately work on this, thanks for raising the issue @surendrakashyap

@nelsonomuto
Copy link
Owner

I will add a parameter to the runCustomValidation event that expects the form name or id you wish the validation to be executed upon.

@surendrakashyap
Copy link
Author

Thank a lot. Once fix is added, please recommend a stable release. specifically I can wait to make sure there is not any template related issues.

@hklitzke
Copy link

Hi there.
Any update to that?
Very important feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants