I have a textbox on my asp page within a form. When I press enter after typing text in the box, the form gets submitted. I was then looking at other pages I have done and sometimes hitting enter in the textbox submits the form and sometimes it doesn't submit the form. Why is this?<BR>And how do I avoid submitting the form when I hit enter in this textbox? I have some validation code that needs to be called before submitting the form. When the textbox enter submits the form this code does not get called.<BR><BR>Thanx for your help.