1.2.2 • Published 5 years ago

@divantespzoo/jquery-validation-polish v1.2.2

Weekly downloads
34
License
MIT
Repository
github
Last release
5 years ago

jQuery validation polish

Additional methods for jquery validation library specific to polish websites. More info about jQuery Validation and docs for usage and options: jQuery Validation

Demo

Demo files showing basic plugin usage and some of methods is shown in demo directory.

Usage

You can use additional methods provided by this plugin in few ways. If you use date validators please include date.js libarary. They rely on date functions provided by this lib.

Method 1 - for prototyping, not recommended for production

Use unpkg CDN. Latest version library is available under this link: https://unpkg.com/@divantespzoo/jquery-validation-polish/dist/jquery.validation.polish.js

Before loading this methods you should load jquery and jquery validation. Example:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js" defer></script>
<script src="https://unpkg.com/@divantespzoo/jquery-validation-polish/dist/jquery.validation.polish.js" defer></script>

Method 2 - with build system

First install npm module using of the command below:

npm install @divantespzoo/jquery-validation-polish --save

or with Yarn

yarn add @divantespzoo/jquery-validation-polish

If you want to include all available methods in your file after importing jQuery and jQuery validation import following package:

import '@divantespzoo/jquery-validation-polish';

When you need only couple of methods import each one explicitly. You will avoid having unused code in your production files. This method requires your build system to transpile JS for ES5 standard.

Example for address validation:

import '@divantespzoo/jquery-validation-polish/validatorAddress';

Below in each method description import path will be specified.

Available methods

About Authors

Divante-logo

We are a Software House from Europe, headquartered in Poland and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.

Visit our website Divante.co for more information.

1.2.2

5 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago