Block <ENTER> key

How can i block the ENTER keys in a field text.

Subject: Block key

Hi, Please Fine the key event and then see?

Like

a=window.event.keyCode

now if user will press enter key

the return value is 13

u find i and restrict the enter key like that

function keyPress()

{

var pKey = window.event.keyCode;

if(pKey!=13)

{

   check()

 }

}

Hop that will help u

Subject: RE: Block key

Hi,Thanks for your help but i want to block the enter Key in a Notes client not in web.

How can i do ?

tks