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.
Paramètres
string
$pref
Prefix warning
string
$post
Postfix warning
Valeurs renvoyées
throws no exceptions thrown
Note
since 1.1
Cette fonction ne peut pas être appelée de façon statique.