CppCMS
|
This class is extending a simple text widget by using additional regular expression validation. More...
#include <cppcms/form.h>
Public Member Functions | |
regex_field (booster::regex const &e) | |
regex_field (std::string const &e) | |
void | regex (booster::regex const &e) |
virtual bool | validate () |
This class is extending a simple text widget by using additional regular expression validation.
cppcms::widgets::regex_field::regex_field | ( | booster::regex const & | e | ) |
Create a widget using the regular expression e.
cppcms::widgets::regex_field::regex_field | ( | std::string const & | e | ) |
Create a widget using the regular expression e.
void cppcms::widgets::regex_field::regex | ( | booster::regex const & | e | ) |
Set the regular expression.
virtual bool cppcms::widgets::regex_field::validate | ( | ) | [virtual] |
Validate the widget content according to the rules and to the charset encoding.
Notes:
Reimplemented from cppcms::widgets::base_text.