Hi there, I’m looking for this for a long time. I was wondering (in pure JS) how people handle validation logics within a multiple step form. So that when you click on the next step button, that it first validates all fields in the currentStep etc. Would you like, check the field name, and do some custom validation logic on it. Or would you loop through all fields per step?
Looping doesn’t seem like a good idea, since when you have a group of radio buttons, it tries to validate that same group for as many times as there are radio buttons.