blubbi
15 Jun 2007, 1:17 AM
Hello everybody,
in Ext.form.VTypes
the mail-vaild is inkorrekt:
var email = /^([\w]+)(.[\w]+)*@([\w-]+\.){1,5}([A-Za-z]){2,4}$/;
korrekt is:
var email = /^([\w]+)(.[\w]+)*@([\w-]+\.){1,5}([A-Za-z]){2,6}$/; // for domains with six chrs ( .museum etc.)
and
var alpha = /^[a-zA-Z_]+$/; // only with to underline, but not hyphenated
var alphanum = /^[a-zA-Z0-9_]+$/;
much better:
var alpha = /^[a-zA-Z_\-]+$/; // for words with hyphenated
var alphanum = /^[a-zA-Z0-9_\-]+$/;
:o)
I Like Ext JS is very good! :)
Most be a little bit better to multilanguage format!
for usMoney can better make function Money and per multilanguage default-currency-value and not only $ ...
I live in to EU the most Peoples pay with Euro (€) and any currency ...
greeting
blubbi
in Ext.form.VTypes
the mail-vaild is inkorrekt:
var email = /^([\w]+)(.[\w]+)*@([\w-]+\.){1,5}([A-Za-z]){2,4}$/;
korrekt is:
var email = /^([\w]+)(.[\w]+)*@([\w-]+\.){1,5}([A-Za-z]){2,6}$/; // for domains with six chrs ( .museum etc.)
and
var alpha = /^[a-zA-Z_]+$/; // only with to underline, but not hyphenated
var alphanum = /^[a-zA-Z0-9_]+$/;
much better:
var alpha = /^[a-zA-Z_\-]+$/; // for words with hyphenated
var alphanum = /^[a-zA-Z0-9_\-]+$/;
:o)
I Like Ext JS is very good! :)
Most be a little bit better to multilanguage format!
for usMoney can better make function Money and per multilanguage default-currency-value and not only $ ...
I live in to EU the most Peoples pay with Euro (€) and any currency ...
greeting
blubbi