Ask a Question related to ASP.NET General, Design and Development.
-
Jerry #1
input=text fires Submit when pressing Enter
Hello
I have some textboxes (input type=Text) in a Form.
In some Forms if I Press Enter while I am in the Textbox It causes a Submit.
The input type is text not submit.
It's obsure that the effect is only on some webform's not in all.
How can I stop the submit ?
Jerry Guest
-
Pressing Enter screws up my template - line breaksimages
OK I am using a template. I have defined an editable region. When I press enter inside the region the navigation panel on left breaks apart. How can... -
Enter key causes submit action in form
I've created a form using Dreamweaver 4.0 and I see that pressing the Enter key in any blank field in the form causes a "Submit" action. When there... -
$_POST behavior from input=submit vs input-type=button
Hello all, I have been trying to solve an annoying behavior with PHP (I think). Maybe some of you have encountered the same and have some ideas.... -
Append a text line by pressing a submit button
Hi, I made a small text field form, now I want to append the name of the text to a new line by pressing a submit button. The form action =... -
Get text in TextBox without pressing Enter key
I want to enter characters in a TextBox in a WebForm, press a Button in the WebForm, and read the characters that were typed into the TextBox from... -
Ravikanth[MVP] #2
input=text fires Submit when pressing Enter
Hi
I guess, when you press enter form submit happens when
there is one textbox in the form.
Ravikanth
It causes a Submit.>-----Original Message-----
>Hello
>
>I have some textboxes (input type=Text) in a Form.
>
>In some Forms if I Press Enter while I am in the Textboxnot in all.>The input type is text not submit.
>
>It's obsure that the effect is only on some webform's>
>
>How can I stop the submit ?
>
>
>.
>Ravikanth[MVP] Guest
-
Jerry #3
Re: input=text fires Submit when pressing Enter
Hmm, that's not the case....... But thanx anyway....
I have a textbox type=text
a Password Textbox type=password
and a Submit Button on the Form.
The WebForm was created with the FormDesigner from Visual Studio
using the WebControls.
I found that a textbox can have an Attribute "nosubmit" but it doesn't work
not......
<input type=text nosubmit .........>
very strange...
"Ravikanth[MVP]" <dvravikanth@hotmail.com> schrieb im Newsbeitrag
news:066c01c35288$eb40d3b0$a601280a@phx.gbl...> Hi
>
> I guess, when you press enter form submit happens when
> there is one textbox in the form.
>
> Ravikanth
>
>
>
>> It causes a Submit.> >-----Original Message-----
> >Hello
> >
> >I have some textboxes (input type=Text) in a Form.
> >
> >In some Forms if I Press Enter while I am in the Textbox> not in all.> >The input type is text not submit.
> >
> >It's obsure that the effect is only on some webform's> >
> >
> >How can I stop the submit ?
> >
> >
> >.
> >
Jerry Guest
-
Saravana #4
Re: input=text fires Submit when pressing Enter
Check out this article, this will explain why it is behaving like this
[url]http://www.allasp.net/enterkey.aspx[/url]
--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"Jerry" <Jerry@Jerry.com> wrote in message
news:bfqn7a$9l$03$1@news.t-online.com...Submit.> Hello
>
> I have some textboxes (input type=Text) in a Form.
>
> In some Forms if I Press Enter while I am in the Textbox It causes a> The input type is text not submit.
>
> It's obsure that the effect is only on some webform's not in all.
>
>
> How can I stop the submit ?
>
>
Saravana Guest
-
John Saunders #5
Re: input=text fires Submit when pressing Enter
Actually, my understanding is that this depends on whether the number of
textboxes is odd or even.
See [url]http://www.allasp.net/enterkey.aspx[/url], which may be of help.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Ravikanth[MVP]" <dvravikanth@hotmail.com> wrote in message
news:066c01c35288$eb40d3b0$a601280a@phx.gbl...> Hi
>
> I guess, when you press enter form submit happens when
> there is one textbox in the form.
>
> Ravikanth
>
>
>
>> It causes a Submit.> >-----Original Message-----
> >Hello
> >
> >I have some textboxes (input type=Text) in a Form.
> >
> >In some Forms if I Press Enter while I am in the Textbox> not in all.> >The input type is text not submit.
> >
> >It's obsure that the effect is only on some webform's> >
> >
> >How can I stop the submit ?
> >
> >
> >.
> >
John Saunders Guest



Reply With Quote

