ahah_example_simple_validation.inc

Version 1.1.2.3 (checked in on 2010/09/26 at 13:16:24 by rfay)

Demonstrate validation of a textfield using AHAH. This approach allows 'live' validation of a field which degrades gracefully when JavaScript is not available.

Functions & methods

NameDescription
ahah_example_simple_validation@file Demonstrate validation of a textfield using AHAH. This approach allows 'live' validation of a field which degrades gracefully when JavaScript is not available.
ahah_example_simple_validation_callbackCallback for autocheckboxes. Process the form with the number of checkboxes we want to provide.
ahah_example_simple_validation_submitSubmit handler for autocheckboxes. Gets called even when our select is active, so we use the $form_state to determine whether the submit handler should actually do anything.
ahah_example_simple_validation_validateValidation function for the form. Requires that two words be entered.