Hi Huseyin,

I'm not a expert for the validation, but it seems to me that the 
required message could not be changed. But instead of using 
textField.setRequired(true), have you tried to use your own validation?

The l18n support should also works for the validation, please use "tr()" 
and run the translation process. Here an example:
textField.setInvalidMessage(this.tr("bla bla bla!"));

And the link to the translation:
http://qooxdoo.org/documentation/1.0/internationalization

Cheers,
Chris


Am 15.02.2010 17:01, schrieb hkalyoncu:
> hello
> how can we change the default "This field is required" message in form
> validation.
> i tried :
> textField.setInvalidMessage("bla bla bla!");
> but nothing is changed.
> it would be nice to set it like:
> textField.setRequired("custom message");
>
> also can we change this message using locale?
>
> regards
> huseyin
>
>    


-- 
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to