Hi,

please just use a wrapper function to join two or more validator function in 
logical relation. See http://tinyurl.com/ophokea 

Gruß
Mustafa Sak

Applications & Integration
1&1 Internet AG | Ernst-Frey-Straße 10 | 76135 Karlsruhe | Germany

-----Ursprüngliche Nachricht-----
Von: chrisch [mailto:chrisch.297...@googlemail.com] 
Gesendet: Dienstag, 13. Januar 2015 20:16
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] Multiple validators for a form field

My first post seems to be not published to the mailing list, so here a second
try:

I have a question regarding multiple validators for a form field. Have a look 
at this example in the playground: http://tinyurl.com/ogxr7yr

I defined two validators for a text field: First the text field is checked for 
a valid email address. Second a custom validator checks if the length of the 
input is at least 10 or more characters.

When entering something like "abcdefghijk" the overall validation failed, but I 
get no error message at the TextField that the input is not a valid email 
address. But there should be an error message because the input is not a valid 
email address. What's going wrong here? Is there a only an error message if the 
last validator fails?




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Multiple-validators-for-a-form-field-tp7586639p7586658.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to