WIP. Added User form

This commit is contained in:
emeric
2014-07-30 14:32:46 +02:00
parent b2bb2e0be1
commit 1f41f7f481
13 changed files with 695 additions and 39 deletions
+10
View File
@@ -0,0 +1,10 @@
#include <Wt/WRegExpValidator>
namespace UserInterface {
static inline Wt::WValidator *createEmailValidator()
{
return new Wt::WRegExpValidator("[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}");
}
} // namespace UserInterface