HTML_QuickForm::getValidationScript()

HTML_QuickForm::getValidationScript()

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

Description

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

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.