Where is it written that it's a dark pattern to collect form information before the user presses submit? Maybe the company wants that information because sometimes the form breaks, or the user isn't able to figure it out, and they want to be able call that person on the phone or write them an email and be like, hey, can we help you fill out the form? That's perfectly reasonable in my opinion. But if the intent was to sell that email address to marketers who would put it on as many nonconsensual spam lists as possible, well, then that was going to happen regardless of whether or not the user pushed the button, because the whole website is a dark pattern which means leaving was the ethical thing to do, so let's not blame technology when the problem was people.