awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
guillaumepotier avatar

guillaumepotier/Parsley.js

0
View on GitHub↗
8,978 stars·1,278 forks·JavaScript·MIT·26 viewsparsleyjs.org↗

Parsley.js

Parsley.js is a JavaScript form validation library that provides a client-side data validator for verifying input correctness before submission. It functions as an HTML attribute-based validator, allowing constraints to be defined declaratively within HTML data attributes to enforce rules without requiring custom scripts.

The framework distinguishes itself through a customizable validation system that supports user-defined rules and custom error message templates. It includes a remote validation interface to verify form values against server endpoints via asynchronous network requests and supports organized validation grouping to handle specific subsets of a form independently.

The library covers a broad range of frontend data integrity capabilities, including input whitespace cleansing and dynamic form adaptation to monitor real-time modifications to fields. It provides mechanisms for form submission interception, validation trigger configuration, and customizable error display rendering.

Features

  • Client-Side Input Validators - Provides a frontend tool for cleansing whitespace and verifying input correctness before data is submitted to a server.
  • Declarative HTML Validation - Implements a declarative system where validation constraints are defined using HTML data attributes.
  • Field Validation - Checks individual form fields against defined criteria and returns a boolean validity status.
  • Asynchronous Validation - Performs asynchronous server-side verification of field validity using JavaScript promises.
  • Custom Validation Rules - Provides a framework for extending validation logic with domain-specific checks through a pluggable registry.
  • Asynchronous Validators - Allows the creation of user-defined rules that return promises for asynchronous validation.
  • Form Validation - Provides a comprehensive system for verifying that user input meets specified criteria before processing.
  • Asynchronous Validation Interfaces - Implements a remote validation interface to check form values against server endpoints using asynchronous network requests.
  • Attribute-Driven Validation - Enforces validation rules through HTML data attributes, removing the need for custom JavaScript definitions.
  • Declarative Attribute Validation - Functions as an HTML attribute-based validator, allowing constraints to be defined declaratively within data attributes.
  • Form Validation - Executes validation using a combination of built-in validators, community extensions, and remote services.
  • Form Validation Libraries - A JavaScript library for validating HTML form inputs using data attributes to enforce rules without writing custom scripts.
  • Remote Input Validation - Provides a remote validation interface to verify form values against server endpoints via asynchronous network requests.
  • Remote Input Verification - Verifies form field values against remote server endpoints in real time using asynchronous requests.
  • Input Validation Triggers - Executes data integrity checks immediately upon user interaction events like blur or keyup.
  • Validation Grouping - Supports organizing form fields into named sets to validate specific subsets of a form independently.
  • Custom Validation Messages - Provides a system for defining how validation error messages are rendered in the interface using custom containers.
  • Form Management - Manages validation rules for dynamic forms that change structure or fields during user interaction.
  • Form Submission Management - Intercepts the form submission process to prevent sending data if the validation state is invalid.
  • Dynamic Form Generation - Adapts validation rules in real-time as form fields are added or removed from the DOM.
  • Validation Behavior Configuration - Offers options to override default validation triggers and interface responses to align with specific project requirements.
  • Validation Error Renderers - Offers configurable containers and rendering functions to display validation errors in the user interface.
  • DOM Mutation Observation - Monitors the DOM for structural changes to automatically apply validation rules to newly added input elements.
  • Form Validation - Front-end form validation without writing JS.
  • 表单验证(Form Validator)/表单提示 - Listed in the “表单验证(Form Validator)/表单提示” section of the Awesome Frontend awesome list.

Star history

Star history chart for guillaumepotier/parsley.jsStar history chart for guillaumepotier/parsley.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does guillaumepotier/parsley.js do?

Parsley.js is a JavaScript form validation library that provides a client-side data validator for verifying input correctness before submission. It functions as an HTML attribute-based validator, allowing constraints to be defined declaratively within HTML data attributes to enforce rules without requiring custom scripts.

What are the main features of guillaumepotier/parsley.js?

The main features of guillaumepotier/parsley.js are: Client-Side Input Validators, Declarative HTML Validation, Field Validation, Asynchronous Validation, Custom Validation Rules, Asynchronous Validators, Form Validation, Asynchronous Validation Interfaces.

Which projects share features with guillaumepotier/parsley.js?

Projects with overlapping indexed features include: jzaefferer/jquery-validation — This project is a jQuery-based form validation library designed to verify HTML form input values on the client side… logaretm/vee-validate — Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of… jquery-validation/jquery-validation — This project is a jQuery plugin and client-side form validator used to verify web form inputs before they are… final-form/react-final-form — react-final-form is a React form state management library that provides a framework for declarative form validation… vuelidate/vuelidate — Vuelidate is a model-based validation library for Vue.js applications. It functions as a client-side data validator… marmelab/react-admin — React-admin is a framework for building data-driven administrative interfaces that connect to REST or GraphQL…

Projects sharing features with Parsley.js

These projects share indexed features with Parsley.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • jzaefferer/jquery-validationjzaefferer avatar

    jzaefferer/jquery-validation

    10,327View on GitHub↗

    This project is a jQuery-based form validation library designed to verify HTML form input values on the client side before submission. It functions as an input validator that enforces data integrity constraints through rule-based verification and value normalization. The library focuses on web accessibility compliance by linking error messages to input fields via ARIA attributes, ensuring that screen readers can announce validation failures to the user. The system supports the creation of custom validation rules and the transformation of raw input strings through a normalization pipeline. Co

    JavaScript
    View on GitHub↗10,327
  • logaretm/vee-validatelogaretm avatar

    logaretm/vee-validate

    11,263View on GitHub↗

    Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of user inputs through declarative rules and tracks form metadata, including submission status and dirty states. The library functions as a wrapper for integrating external schema validation libraries to enforce consistent data shapes. It also serves as an internationalized framework for displaying translated error messages and localized feedback. The project covers broad capability areas including form state management, the handling of complex nested data structures, and the s

    TypeScriptformform-validationforms
    View on GitHub↗11,263
  • jquery-validation/jquery-validationjquery-validation avatar

    jquery-validation/jquery-validation

    10,327View on GitHub↗

    This project is a jQuery plugin and client-side form validator used to verify web form inputs before they are submitted to a server. It employs a rule-based validation engine to check user input against predefined or custom rules to ensure data integrity in the browser. The tool is designed as an ARIA-compliant validation system, using accessibility attributes to link error messages to input fields. This ensures that screen reader users are notified when a field contains an invalid value during the form submission process. The system supports remote server validation via asynchronous HTTP re

    JavaScript
    View on GitHub↗10,327
  • final-form/react-final-formfinal-form avatar

    final-form/react-final-form

    7,440View on GitHub↗

    react-final-form is a React form state management library that provides a framework for declarative form validation and the orchestration of dynamic input fields. It utilizes a subscription-based state manager to trigger interface updates only for the specific fields that change during user input, which optimizes rendering by limiting unnecessary component re-renders. The library functions as a dynamic input field orchestrator, allowing users to add, remove, or reorder lists of form fields. It manages complex form state through a system that supports conditional field rendering and real-time

    JavaScript
    View on GitHub↗7,440
Compare all 30 related projects→