View Single Post
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Word Form Fields


Since you have not quoted the original question, it's difficult to tell, but
it sounds as if you are providing a solution for a Web page/site, not a
protected form in Word. In any case, you have replied to a question so old
it has scrolled off the MS server where it was originally posted.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"elizas" wrote in message
...

You can use this code for entire application, even if your page
contains multiple forms and they have different IDs. Just put this code
inside a common js file and include it in every page.

$(function() {

$("form").bind("keypress", function(e) {
if (e.keyCode == 13) return false;
});

});
'Eliza' (http://tinyurl.com/yhzofvy)


--
elizas
------------------------------------------------------------------------
elizas's Profile: 1654
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=82539

http://www.thecodecage.com/forumz/chat.php