[eluser]BrianDHall[/eluser]
[quote author="OverZealous" date="1256684814"]Ah, um, yeah, BrianDHall is right. Doh!
That's another legacy choice from the original DataMapper that I've never been comfortable with (skipping rules if required is not set), but I can't change it because it would probably break a lot of stuff![/quote]
I think I'm getting the hang of this
Hm, perhaps you could implement a sort of 'special_required' rule? The function would function the exact same as required in that it forced rules to be run even if the field is empty, but it would not itself trigger any error or cause form validation failure. DMZ would treat it as if required had been set (so you could probably get away with an extra OR statement wherever required is checked for), thus taking the easy way out
This I suppose could always be another configurable thing, but obviously it would have to default to off or all hell would break loose when people upgraded. I have no problem with present functioning of required so far, so don't consider this a personal request
The code works as I have it and I'm actually done with that system, including the confirmation email tokening and processing and everything. Damn little code for a whole lotta work - DMZ has made coding fun again for me