You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Duto <ol...@pasteur.fr> on 2011/03/28 01:44:08 UTC
validator and textArea
Hello,
Why TextArea don't have setValidator function like TextInput.
I would like validate a form with both TextInput and TextArea.
If someone know why ?
Best regards
Duto
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/validator-and-textArea-tp2741060p2741060.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: validator and textArea
Posted by Greg Brown <gk...@verizon.net>.
This was actually by design. The use cases for TextInput and TextArea are quite different. Text in a TextArea doesn't generally require "validation" in the same way that TextInput text does. It's likely to impose a significant performance penalty if you try to validate a text area on every keystroke. Instead, text area content is generally validated on a "submit".
On Mar 28, 2011, at 4:04 AM, Noel Grandin wrote:
> Hi
>
> It's a good idea. Plus submit a JIRA feature request so we don't lose
> track of this.
>
> Regards, Noel.
>
> On Mon, Mar 28, 2011 at 01:44, Duto <ol...@pasteur.fr> wrote:
>> Hello,
>>
>> Why TextArea don't have setValidator function like TextInput.
>>
>> I would like validate a form with both TextInput and TextArea.
>>
>> If someone know why ?
>>
>>
>> Best regards
>>
>> Duto
>>
>>
>>
>> --
>> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/validator-and-textArea-tp2741060p2741060.html
>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>>
Re: validator and textArea
Posted by Noel Grandin <no...@gmail.com>.
Hi
It's a good idea. Plus submit a JIRA feature request so we don't lose
track of this.
Regards, Noel.
On Mon, Mar 28, 2011 at 01:44, Duto <ol...@pasteur.fr> wrote:
> Hello,
>
> Why TextArea don't have setValidator function like TextInput.
>
> I would like validate a form with both TextInput and TextArea.
>
> If someone know why ?
>
>
> Best regards
>
> Duto
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/validator-and-textArea-tp2741060p2741060.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>