Abide

Manifesto Base

Manifesto is largely built with the Foundation framework, and Foundation uses a form validation system called Abide. Abide offers increased - and extensible - tools for form validation. This module simply disables standard HTML validation, and adds an initially-hidden error text field to every form to which it is attached.

The module consists entirely of the single AbideListener class, which has one static method, AbideListener::abide_validation. There is an Event listener called "Enable Abide form validation," and the AbideListener::abide_validation method gets attached to it. The administrator may then enable this functionality for individual modules and classes.