Developed with love by KnpLabs Hire us for your project!
22

TrsteelHtmlFormValidationBundle

by trsteel88

Easily disable HTML5 validation errors.

Easily disable HTML5 validation errors.

Add the following lines to the deps file:

[TrsteelHtmlFormValidationBundle]
    git=http://github.com/trsteel88/TrsteelHtmlFormValidationBundle.git
    target=/bundles/Trsteel/HtmlFormValidationBundle

Update your vendors by running:

$ php ./bin/vendors

Add the Trsteel namespace to your autoloader.

<?php
// app/autoload.php

$loader->registerNamespaces(array(
    'Trsteel' => __DIR__.'/../vendor/bundles',
    // your other namespaces
));

Add the bundle to the application kernel.

<?php
// app/AppKernel.php
    public function registerBundles()
    {
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            // ...
            $bundles[] = new Trsteel\HtmlFormValidationBundle\TrsteelHtmlFormValidationBundle();
            // ...
        }
    }
trsteel_html_form_validation:
enabled: true
  • catch exceptions
    By Trent Steel, 2 years ago
  • do not modify a streamed response
    By Trent Steel, 2 years ago
  • do not remove novalidate
    By Trent Steel, 3 years ago
  • remove old instructions
    By trsteel88, 4 years ago
  • enable by default
    By trsteel88, 4 years ago
  • restore capital letter
    By trsteel88, 4 years ago
  • use lowercase name
    By trsteel88, 4 years ago
  • fix typo
    By trsteel88, 4 years ago
  • rename readme
    By trsteel88, 4 years ago
  • rename readme
    By trsteel88, 4 years ago
  • inital commit
    By trsteel88, 4 years ago