Hi, I have a form which has a hidden action named 'Update'. Within the form, I allow user to hit Enter key to do a search/add or validation for a couple of fields. There is also a submit button called 'Update'.
Right now the behavior is whenever user hit the enter key, it did some work and then do the Update. But my goal is the Enter key can let user do whatever they want to do but only do Update when user click this Update button.
How can I handle this? Appreciate ahead!!
Right now the behavior is whenever user hit the enter key, it did some work and then do the Update. But my goal is the Enter key can let user do whatever they want to do but only do Update when user click this Update button.
How can I handle this? Appreciate ahead!!