Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 849 Bytes

readme.md

File metadata and controls

24 lines (17 loc) · 849 Bytes

Formation v4.0.0

A class that builds form elements and then validates their input values for errors.

Requirements

Features

  • Create a form and all its field elements
  • Manage all labels and fields with the correct IDs and associations
  • Determines to correct tags for HTML or XHTML
  • Supports all input types: text, textarea, password, hidden, file, radio, checkbox, select, image
  • Has a large library of validators: alpha, numeric, date, time, ip, email, url, and many more
  • Validates certain elements based on the supplied schema
  • Cleans all data after a successful validation
  • Can set certain fields as required or optional

Documentation

Thorough documentation can be found here: http://milesj.me/code/php/formation