HTML_QuickForm::setJsWarnings()

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

概要

require_once 'HTML/QuickForm.php';

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

説明

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.

パラメータ

string $pref

Prefix warning

string $post

Postfix warning

例外・エラー

throws no exceptions thrown

注意

since 1.1

この関数は、スタティックにコールする ことはできません。