All Projects → form-validation → form-validation

form-validation / form-validation

Licence: other
FormValidation, the best validation library for JavaScript

Projects that are alternatives of or similar to form-validation

sapper-typescript-esbuild-template
Sapper template with ESBuild and TypeScript
Stars: ✭ 18 (-86.86%)
Mutual labels:  rollup, svelte, sapper
sapper-template-rollup
Starter Rollup template for Sapper apps using postcss, cssnano, tailwindcss, and svelte-preprocess.
Stars: ✭ 32 (-76.64%)
Mutual labels:  rollup, svelte, sapper
simple-cloud-music
简洁的的第三方网易云音乐播放器
Stars: ✭ 306 (+123.36%)
Mutual labels:  rollup, svelte
Svelte Example
🚀 📚 Some examples to test the Svelte Framework
Stars: ✭ 85 (-37.96%)
Mutual labels:  rollup, svelte
puruvjdev2
puruvj.dev
Stars: ✭ 11 (-91.97%)
Mutual labels:  rollup, sapper
Vudash
Powerful, Flexible, Open Source dashboards for anything
Stars: ✭ 363 (+164.96%)
Mutual labels:  rollup, svelte
Svelte Tailwind Extension Boilerplate
A Chrome extension boilerplate built with Svelte, TailwindCSS, Jest, and Rollup.
Stars: ✭ 26 (-81.02%)
Mutual labels:  rollup, svelte
Modular Css
A streamlined reinterpretation of CSS Modules via CLI, API, Browserify, Rollup, Webpack, or PostCSS
Stars: ✭ 234 (+70.8%)
Mutual labels:  rollup, svelte
markushatvan.com
Personal website and blog written from scratch with SvelteKit and TailwindCSS.
Stars: ✭ 82 (-40.15%)
Mutual labels:  rollup, svelte
ctx-core
A composable monorepo web-service/front-end toolkit
Stars: ✭ 25 (-81.75%)
Mutual labels:  rollup, svelte
upswyng
UpSwyng is a mobile-ready, digital directory of resources to assist the unhoused and at-risk communities of Boulder, CO
Stars: ✭ 19 (-86.13%)
Mutual labels:  svelte, sapper
svelte-template-hot
Copy of official Svelte template with added HMR support
Stars: ✭ 61 (-55.47%)
Mutual labels:  rollup, svelte
rollup-plugin-svelte-hot
Fork of official rollup-plugin-svelte with added HMR support (for both Nollup or Rollup)
Stars: ✭ 49 (-64.23%)
Mutual labels:  rollup, svelte
Sapper Template Firebase
Starter Rollup template for Sapper apps with Firebase functions based on https://github.com/nhristov/sapper-template-rollup.
Stars: ✭ 29 (-78.83%)
Mutual labels:  rollup, svelte
svelte-credit-card
A svelte component to render a credit card 💳
Stars: ✭ 30 (-78.1%)
Mutual labels:  rollup, svelte
Eleventy Starter
ARCHIVED: An Eleventy starting point with Tailwind and Svelte preconfigured.
Stars: ✭ 118 (-13.87%)
Mutual labels:  rollup, svelte
year-in-dev
A web tool tool that displays a summary of your DEV.to blog's stats!
Stars: ✭ 22 (-83.94%)
Mutual labels:  svelte, sapper
svelte-typescript-rollup
Svelte + Typescript + Rollup
Stars: ✭ 79 (-42.34%)
Mutual labels:  rollup, svelte
sensor.community
✨ new shiny website built with svelte ❤️ for dust and noise measuring project 👉 https://sensor.community
Stars: ✭ 45 (-67.15%)
Mutual labels:  svelte, sapper
auth
Sapper Authentication Implementation for Wordpress
Stars: ✭ 18 (-86.86%)
Mutual labels:  svelte, sapper

FormValidation

The best validation library for JavaScript.

FormValidation

Biggest collection of validators

40+ validators, 50+ plugins

  • Cover most various types of form field
  • Develop, reuse custom validator
  • Support sync and async validators
  • Plugin based architectue

Flexible

  • Customize icon
  • Customize error message
  • Customize error message location
  • Customize valid and invalid colors
  • Dynamic field
  • Enable, disable validators on the fly

Localization

  • Language packages for error message
  • Support custom message
  • Support custom validators
  • Switch between locales
  • Validate ID and VAT numbers in many countries

Declaring validation rules

  • Declarative mode
<form id="registrationForm">
    <input
        name="userName"
        data-fv-not-empty="true"
        data-fv-not-empty___message="The username is required"
        data-fv-string-length="true"
        data-fv-string-length___min="6"
        data-fv-string-length___message="The name must be more than 6 characters long"
    />
</form>
  • Programmatic mode
FormValidation.formValidation(
    document.getElementById('registrationForm'),
    {
        fields: {
            userName: {
                validators: {
                    notEmpty: {
                        message: 'The username is required',
                    },
                    stringLength: {
                        message: 'The name must be more than 6 characters long',
                        min: 6,                        
                    },
                },
            },
        },
    },
);

Integration with your stack

  • Support native form
  • Support popular CSS frameworks via plugins
  • Support popular JavaScript frameworks
  • Easy to integrate with a framework

Play nice with form libraries

  • Autocomplete
  • Color picker
  • Custom checkbox
  • Custom radio
  • Date picker
  • International telephone input
  • Mask input
  • Rich editor
  • Select
  • Star rating
  • Tag input
  • Time picker
  • Toggle
  • Wizard

and more!

Supported browsers

Support the latest version of

  • Chrome
  • Firefox
  • Safari
  • Opera
  • Edge
  • Internet Explorer 11

About

This project is developed by Nguyen Huu Phuoc. I love building products and sharing knowledge.

Be my friend on

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].