I have an ASP page with a form with one visible text box that the customer enters search criteria into. I don't have any submit buttons but onclick events for the images which call functions that then validate and set the forms.action accordingly and then submits the page. However when the user presses the enter button it submits the page but without passing through my dynamic querystring. I have tried catching the onkeypress event for enter and setting it to the relevant function but it still submits without passing through my querystring. Is there a way of blocking the enter button so it doesn't do anything?