61 and... now another thing which I actually have no idea on how to fix properly.
I have a group of inputs that either all need to be empty or they all need to follow the rules set in them (thus for example require, max,min, etc)
Problem : you can't run code before right before the browser does its checks, as the submit event happens after it checked everything (and doesn't fire at all if the check failed)
Solution to that : remove the input group if they are empty, then do the check yourself by setting the form to "novalidate".
Problem 2 : this removes the nice boxes showing the user what he/she did wrong...
I guess I may be able to get around this by checking if the form is set to "novalidate"
If it is -> remove the group if its empty-> remove the "novalidate"-> stop this event and fire it again
If it is not -> reset the form to novalidate->do the code as normal. (thus submit the form)
But.... that again seems very hacky.... anyone another idea?