HTML_QuickForm::setJsWarnings()

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

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::setJsWarnings (string $pref, string $post)

Beschreibung

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

since 1.1

Diese Methode kann nicht statisch aufgerufen werden.