previousHTML_QuickForm::setRequiredNote() (Previous) (Next) HTML_QuickForm::getRequiredNote()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm::setJsWarnings()

HTML_QuickForm::setJsWarnings() – Sets JavaScript warning messages

Synopsis

require_once 'HTML/QuickForm.php';

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

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.

previousHTML_QuickForm::setRequiredNote() (Previous) (Next) HTML_QuickForm::getRequiredNote()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.