Thursday, March 22, 2012

Textarea, form submit on return key

Hi,

Something is causing the form to be submitted whenever I hit the
return-key. Normally I wouldn't bother, but it also happens when I'm
typing in a textarea-control, which makes it impossible to fill in
multiple lines...

Where to look?

Thanks!Sjaakie schreef:
> Hi,
> Something is causing the form to be submitted whenever I hit the
> return-key. Normally I wouldn't bother, but it also happens when I'm
> typing in a textarea-control, which makes it impossible to fill in
> multiple lines...
> Where to look?
> Thanks!

It might be helpfull to know that the textarea is a multiline
textbox-control.

Cheers
Sjaakie, i tried a small sample but I can't reproduce the behavior!, can you
post some code?

Jose
"Sjaakie" <keep@.secret.it> wrote in message
news:448fd04d$0$31641$e4fe514c@.news.xs4all.nl...
> Sjaakie schreef:
>> Hi,
>>
>> Something is causing the form to be submitted whenever I hit the
>> return-key. Normally I wouldn't bother, but it also happens when I'm
>> typing in a textarea-control, which makes it impossible to fill in
>> multiple lines...
>>
>> Where to look?
>>
>> Thanks!
> It might be helpfull to know that the textarea is a multiline
> textbox-control.
> Cheers
Jose Rodriguez schreef:
> Sjaakie, i tried a small sample but I can't reproduce the behavior!, can you
> post some code?
> Jose
> "Sjaakie" <keep@.secret.it> wrote in message
> news:448fd04d$0$31641$e4fe514c@.news.xs4all.nl...
>> Sjaakie schreef:
>>> Hi,
>>>
>>> Something is causing the form to be submitted whenever I hit the
>>> return-key. Normally I wouldn't bother, but it also happens when I'm
>>> typing in a textarea-control, which makes it impossible to fill in
>>> multiple lines...
>>>
>>> Where to look?
>>>
>>> Thanks!
>> It might be helpfull to know that the textarea is a multiline
>> textbox-control.
>>
>> Cheers

Jose,
I tried to cancel this posting, but apparently it was already replicated
to other servers.

It turned out it was just me being stupid. I was confident I had set the
property 'Multiline', but I didn't ... so it behaved as a regular textbox.

Thanks for your support anyway.

Cheers,
Sjaak

0 comments:

Post a Comment