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

Make Custom Validator Global #661

@TaylorFoster90

Description

@TaylorFoster90

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions