Hi,

I think you have to use the form validator:

Did you already tried this demo?

http://demo.qooxdoo.org/current/demobrowser/#ui~FormValidator.html

and the following manual:

http://manual.qooxdoo.org/1.3.x/pages/gui_toolkit/ui_form_handling.html#validation

Tino

Am 18.03.2011 um 06:10 schrieb hgc2002:

> I'm using 1.3 out of the box.
> 
> My example is simple: a TextField with the property requiredInvalidMessage =
> this.tr("something").
> 
> My tests has been always with this field empty because I want to understand
> how "required" fields are validated.
> 
> But I only see "This field is required" when I get the
> manager.getRequiredFieldMessage().
> 
> According with the API, "This message will be shown if a required field is
> empty and no individual qx.ui.form.MForm#requiredInvalidMessage is given."
> 
> Ok, so I must be doing something wrong. I want to have the first validation
> error message to show it in the status bar of the window, but how can I do
> this?
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/requiredInvalidMessage-not-working-tp6183438p6183438.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel






------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to