PHPackages                             netzmacht/contao-form-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. netzmacht/contao-form-validation

ActiveContao-module[Validation &amp; Sanitization](/categories/validation)

netzmacht/contao-form-validation
================================

Javascript form validation.

1.1.0(9y ago)338[1 issues](https://github.com/netzmacht/contao-form-validation/issues)LGPL-3.0+PHPPHP &gt;=5.4

Since Apr 23Pushed 9y ago2 watchersCompare

[ Source](https://github.com/netzmacht/contao-form-validation)[ Packagist](https://packagist.org/packages/netzmacht/contao-form-validation)[ RSS](/packages/netzmacht-contao-form-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (7)Used By (0)

Contao form validation extension
================================

[](#contao-form-validation-extension)

[![Build Status](https://camo.githubusercontent.com/da9faf608a4ef75da077f4c6d11a555327de3f87fdb00f0cb1de206cf1c6d85a/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6e65747a6d616368742f636f6e74616f2d666f726d2d76616c69646174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/netzmacht/contao-form-validation)[![Version](https://camo.githubusercontent.com/1ecaff35c98f3ed408b56f4f99a83cf4ed008cf2c47f8dac9dbddfb3c72d1c95/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65747a6d616368742f636f6e74616f2d666f726d2d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](http://packagist.com/packages/netzmacht/contao-form-validation)[![License](https://camo.githubusercontent.com/d6728b6f432da22af1bca0eb5ca564fc1313124146c96df0b42eabeac8af3631/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e65747a6d616368742f636f6e74616f2d666f726d2d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](http://packagist.com/packages/netzmacht/contao-form-validation)[![Downloads](https://camo.githubusercontent.com/3f541d8bc42bc821fe2dd6b97f1b5c2b9430970ad0249c069bae25e871e0208d/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e65747a6d616368742f636f6e74616f2d666f726d2d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](http://packagist.com/packages/netzmacht/contao-form-validation)[![Contao Community Alliance coding standard](https://camo.githubusercontent.com/5c83beb382413cbfa523bbea12d70d0723a803b3f7cbba029609ed1848dfa99b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6363612d636f64696e675f7374616e646172642d7265642e7376673f7374796c653d666c61742d737175617265)](https://github.com/contao-community-alliance/coding-standard)

This extension provides extended form validations like client side form validation for the Contao forms.

Features
--------

[](#features)

- Client side form validation using . This is an commercial library supporting well known frameworks like Bootstrap, foundation. It is **NOT** included in this extension and has to be purchased and installed by its own.
- formvalidation.io supports html5 form validation. Since Contao supports html5 form field widgets most validators work out of the box.
- Automatically create frontend validators for:
    - upload file (extensions and file size)
    - password (min length of password field, compare passwords)
    - date formats (date, datim)
    - phone validator (formvalidation.io does not support input type tel.).
    - string length validation (min length, max length)

Following features are planned:

- Support default Contao 3.4 form syntax
- Provide extended [validators](http://formvalidation.io/validators/) for client and server side.

Install
-------

[](#install)

You can install this extension using composer:

```
$ php composer.phar require netzmacht/contao-form-validation:~2.0

```

After installing, do following steps:

1. Set the assets path to the  library in *System settings -&gt; form validation*
2. Create a form validation config in the form generator.
3. Edit the form setting and activate client side validation. Select the configuration here.
4. Edit the form fields and customize the client side validation config.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~134 days

Total

5

Last Release

3506d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

---

Top Contributors

[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (43 commits)")

---

Tags

validationjavascriptcontaoformfrontend

### Embed Badge

![Health badge](/badges/netzmacht-contao-form-validation/health.svg)

```
[![Health](https://phpackages.com/badges/netzmacht-contao-form-validation/health.svg)](https://phpackages.com/packages/netzmacht-contao-form-validation)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[fp/jsformvalidator-bundle

Javascript validation for sf\[2|3|4\] forms.

132418.8k1](/packages/fp-jsformvalidator-bundle)[apy/jsfv-bundle

Symfony2 Javascript Form Validation Bundle with localisation support

92770.5k](/packages/apy-jsfv-bundle)[siriusphp/validation

Data validation library. Validate arrays, array objects, domain models etc using a simple API. Easily add your own validators on top of the already dozens built-in validation rules

181743.3k13](/packages/siriusphp-validation)[progsmile/request-validator

Simple PHP Request Validator

33113.3k1](/packages/progsmile-request-validator)[stroker/form

ZF2 module for extending forms with live clientside validation

4157.1k](/packages/stroker-form)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
