HTML_QuickForm::setJsWarnings()

HTML_QuickForm::setJsWarnings()

HTML_QuickForm::setJsWarnings() -- Sets JavaScript warning messages

Description

Sets JavaScript warning messages: the first is displayed before element errors, the second after them. Useless if the form had no rules added with 'client' modifier.

Parameter

string $pref

Prefix warning

string $post

Postfix warning

Throws

throws no exceptions thrown

Note

since 1.1

This function can not be called statically.

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