I just added a commit with a keypress event on the form, do you think it's ok like this ?