validformbuilder/validformbuilder

The easiest tool for generating XHTML 1.0 valid and CSS enabled webforms.


Keywords
form, validation, building, javascript-library, php, validform, validform-builder
License
LGPL-2.0

Documentation

Build Status Latest Stable Version License A project by Neverwoods

Quick links:

ValidForm Builder

The ValidForm Builder is a PHP and JavaScript library that simplifies the often tedious creation of standards based web forms. Correct field validation of forms is an often overlooked problem and can lead to serious security issues. Building a form and adding validation to it was never that easy.

  • The API generates XHTML Strict 1.0 compliant code.
  • Field validation on the client side to minimize traffic overhead.
  • Field validation on the server to enforce validation rules and prevent tempering with the form through SQL injection.
  • Client side validation displays inline to improve user satisfaction. No more annoying popups that don't really tell you anything.
  • Creation of complex form structures.
  • Uses the popular jQuery Javascript library for DOM manipulation.
  • Completely customizable using CSS rules.
  • Automatic creation of field summaries for form mailers.
  • Super fast web form creation.
  • Get rid of SQL injection problems.
  • Create standards based CSS forms. No tables inside.
  • Make form entry fun for the user. More feedback from your website.
  • Write client- and server-side validation at the same time

Installation

You're free to download the source and get started but we highly recommend that you use Composer to install ValidForm Builder. Add the following to your project's composer.json file:

{
    "require": {
        "neverwoods/validformbuilder": "~4"
    }
}

By using the tilde you'll automatically install bug fixes and new features. See Composer documentation for details.

Documentation

You can eat get going fast with the new extensive documentation generated by PHPDoc. We've proved lots of inline documentation together with example code to get you started fast an easy.

Here are some documentation quick links:

If you have any questions, please ask them on stackoverflow and be sure to tag your question with the validform tag. We regulary monitor these questions and try to answer them as soon as we can :)

Examples

Check out the examples folder for many real-live use cases for ValidForm Buider. Each snippet is ready to copy-paste into your project!

Happy coding!

Felix & Robin