HTML_QuickForm::getValidationScript()

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

Referentiesamenvatting

require_once 'HTML/QuickForm.php';

string HTML_QuickForm::getValidationScript (void)

Beschrijving

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

Throws

throws no exceptions thrown

Note

since 2.0

Deze functie kan niet statisch worden aangeroepen.