Hi, I created a form with required inputs and a submit button that works fine if nothing is is typed in the input area.
But when I add an eventlistener to the that same button, the required condition of the inputs seems to be ignored and it goes ahead to execute the function of the eventlistener even if nothing is typed in the input.
Anybody knows how to solve this?