PC Review


Reply
Thread Tools Rate Thread

Disabling emailing form results when the enter key is pressed

 
 
Mohindar
Guest
Posts: n/a
 
      27th Mar 2008
Hi Team:

Just created a Form with lots of fields. The Submit button correctly sends
the results to the specified.
Problem:
Unfortunately form results are emailed if, unintentionally/ by mistake, the
ENTER key is pressed. This is unexpected/ unneeded behavior. How do I disable
this behavior?

Your thoughts will be greatly appreciated.

Thanks
Mohindar
--
Kaloo
 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      27th Mar 2008
Add validation (make the field required) to your critical form fields, or the last form field

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


"Mohindar" <(E-Mail Removed)> wrote in message newsFFB4465-5A8B-4CF6-B5DB-(E-Mail Removed)...
| Hi Team:
|
| Just created a Form with lots of fields. The Submit button correctly sends
| the results to the specified.
| Problem:
| Unfortunately form results are emailed if, unintentionally/ by mistake, the
| ENTER key is pressed. This is unexpected/ unneeded behavior. How do I disable
| this behavior?
|
| Your thoughts will be greatly appreciated.
|
| Thanks
| Mohindar
| --
| Kaloo


 
Reply With Quote
 
Mike Mueller
Guest
Posts: n/a
 
      27th Mar 2008
Hope this will help you

This first one is a javascript which will intercept the inadvertant ENTERs
and turn them into TABs, which will take the end user to the next form
field.
http://javascript.internet.com/forms...emulation.html

This one will just disable the ENTER key for selected <inputs>
http://www.bloggingdeveloper.com/pos...Key-Press.aspx




"Mohindar" <(E-Mail Removed)> wrote in message
newsFFB4465-5A8B-4CF6-B5DB-(E-Mail Removed)...
> Hi Team:
>
> Just created a Form with lots of fields. The Submit button correctly sends
> the results to the specified.
> Problem:
> Unfortunately form results are emailed if, unintentionally/ by mistake,
> the
> ENTER key is pressed. This is unexpected/ unneeded behavior. How do I
> disable
> this behavior?
>
> Your thoughts will be greatly appreciated.
>
> Thanks
> Mohindar
> --
> Kaloo


 
Reply With Quote
 
Mohindar
Guest
Posts: n/a
 
      27th Mar 2008
Thank you Team for your suggestions. For now resolved the issue by using
validation on last field. Will look into other solutions suggested by Mike.

I will now close this issue.

Again thanks.

--
Kaloo


"Mike Mueller" wrote:

> Hope this will help you
>
> This first one is a javascript which will intercept the inadvertant ENTERs
> and turn them into TABs, which will take the end user to the next form
> field.
> http://javascript.internet.com/forms...emulation.html
>
> This one will just disable the ENTER key for selected <inputs>
> http://www.bloggingdeveloper.com/pos...Key-Press.aspx
>
>
>
>
> "Mohindar" <(E-Mail Removed)> wrote in message
> newsFFB4465-5A8B-4CF6-B5DB-(E-Mail Removed)...
> > Hi Team:
> >
> > Just created a Form with lots of fields. The Submit button correctly sends
> > the results to the specified.
> > Problem:
> > Unfortunately form results are emailed if, unintentionally/ by mistake,
> > the
> > ENTER key is pressed. This is unexpected/ unneeded behavior. How do I
> > disable
> > this behavior?
> >
> > Your thoughts will be greatly appreciated.
> >
> > Thanks
> > Mohindar
> > --
> > Kaloo

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get contents and close form when [Enter] key is pressed =?Utf-8?B?WFA=?= Microsoft Access Form Coding 5 5th Mar 2007 01:21 AM
how to submit a form when enter is pressed RTT Microsoft VB .NET 2 31st Mar 2005 07:50 PM
Form Disappears if <ENTER> pressed Magus Microsoft Frontpage 3 21st Feb 2005 10:09 PM
how to disable post back if enter key is pressed on th form gh0st54 Microsoft ASP .NET 2 27th Sep 2004 07:41 PM
Re: Emailing form results Tom Pepper Willett Microsoft Frontpage 2 1st May 2004 09:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.