The required method uses $.trim on the value first, before checking
the length. \n is considered whitespace and therefore ignored. So a
textarea that contains nothing but \n is invalid for the required
method.

Does that answer your question?

Jörn

On Tue, Sep 2, 2008 at 7:01 PM, Andy <[EMAIL PROTECTED]> wrote:
>
> I mean is it suppporting the newline (\n) character to be validated
> before passed through to another page?
>  because mine doesnt seem to work
>
>
>
>
> On Sep 2, 11:55 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
> wrote:
>> Work? Like submitting the form when pressing enter in a textarea? How
>> is that related to the validation?
>>
>> Jörn
>>
>> On Tue, Sep 2, 2008 at 6:44 PM, Andy <[EMAIL PROTECTED]> wrote:
>>
>> > If users press <enter> or newline on textareas it doesnt seem work
>>
>> > On Sep 2, 10:47 pm, andy prasetyo <[EMAIL PROTECTED]> wrote:
>> >> Ok, Jorn here it is 
>> >> :http://d661480.u34.strictlywebhosting.com/register.html..really
>> >> appreciate your help and guidance
>>
>> >> Thanks
>>
>> >> On Sep 2, 10:40 pm, andy prasetyo <[EMAIL PROTECTED]> wrote:
>>
>> >> > ok one min let me upload..it doesnt seem to pass the value if i use \n
>> >> > (newline)
>>
>> >> > On Sep 2, 10:17 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
>> >> > wrote:
>>
>> >> > > Could you be more specific, eg. provide a testpage?
>>
>> >> > > Jörn
>>
>> >> > > On Tue, Sep 2, 2008 at 2:05 PM, andy prasetyo <[EMAIL PROTECTED]> 
>> >> > > wrote:
>>
>> >> > > > I usejquery validationplugin from bassistance.de, but everytime i
>> >> > > > use it on textarea, it doesnt work (doesnt pass the value properly).
>> >> > > > Any suggestions?
>

Reply via email to