HTML_QuickForm::getValidationScript()

HTML_QuickForm::getValidationScript() -- Returns the client side validation script

Synopsis

require_once 'HTML/QuickForm.php';

string HTML_QuickForm::getValidationScript (void)

Beschreibung

Returns JavaScript used to validate the form on client side. Returns an empty string if no rules were added with 'client' modifier.

Fehler-Meldungen

throws no exceptions thrown

Hinweise

since 2.0

Diese Methode kann nicht statisch aufgerufen werden.