CppCMS
|
The password widget is a simple text widget with few, obvious differences. More...
#include <cppcms/form.h>
Public Member Functions | |
void | check_equal (password &p2) |
virtual bool | validate () |
The password widget is a simple text widget with few, obvious differences.
void cppcms::widgets::password::check_equal | ( | password & | p2 | ) |
Set the equality constraint to another password widget. This password should be equal to the one in p2. It is usefull when creating new passwords: if the passwords are not equal, the validation will fail.
virtual bool cppcms::widgets::password::validate | ( | ) | [virtual] |
Validate the widget content according to the rules and to the charset encoding.
Notes:
Reimplemented from cppcms::widgets::base_text.