Is it possible to add a keyup listener to a form tag to trigger the submit event even if there is no submit button?

Consider a HTML-form, which includes several input fields and an icon from the material-icons library. I have added a click-listener to the icon, such that the form is submitted when clicking on the icon.

Now I want to go ahead and also add a keyup-Listener, such that the form will be submitted whenever I hit the ‘Enter’-key. I was trying to just add this listener to the form-element. This doesn’t work, however.

I am afraid that I might have to add this event-listener to each of my input fields and am curious on as there is another way of achieving what I want? Note, though, that I don’t have a submit-button, I only have the icon.