when click on input field do nothing code example
Example: do nothing on enter on input field
<input type="text" name="mytext" onkeypress="return event.keyCode!=13">
<input type="text" name="mytext" onkeypress="return event.keyCode!=13">