Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Make Custom Validator Global #661

Open
TaylorFoster90 opened this issue Nov 5, 2019 · 0 comments
Open

Make Custom Validator Global #661

TaylorFoster90 opened this issue Nov 5, 2019 · 0 comments

Comments

@TaylorFoster90
Copy link

Hello,

Is there a way to add a global custom validator so even if I use the data-toggle="validator" on a form element, I can still have access to my custom validator? Currently, everywhere I use my custom validator I am having to activate validation with JS.

$("#form-id").validator({
  // Add Custom Validator
});

It would be a nice to have access to a global custom validator so I can just continue to use data-toggle="validator" on my forms.

Thanks!

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

No branches or pull requests

1 participant