[fw-general] Zend_Form and custom validation workaround

2010-07-01 Thread milesap
I have a problem that I cannot seem to wrap my head around. 3 text fields on my form are "start dates", and another 3 text fields are "end dates". I need to validate the end dates to their corresponding starting dates to ensure they are later than the start dates. I created a custom validator f

Re: [fw-general] Zend_Form and custom validation workaround

2010-07-21 Thread Peter Warnock
Create subforms to take advantage of array notation and have the validator compare the pair by naming convention. - pw On Thu, Jul 1, 2010 at 10:00 AM, milesap wrote: > > I have a problem that I cannot seem to wrap my head around. > > 3 text fields on my form are "start dates", and another 3 tex