Zend_Form proposal progress

Following all the excellent comments that have been left, Matthew Weier O’Phinney has posted a comment on the Zend_Form proposal about the focus of the Zend_Form proposal:

1) Based on user requests, I’ll be investigating adding this functionality (element grouping) 2) I’m considering allowing each element access to all other values, as this would keep them atomic, but allow you to use other values as part of your validation. 3) empty() will be used for the requiredness check (i.e., !empty() will indicate a value is present) 4) Any ideas for lazy loading I’d gladly accept

I’m especially pleased to see element grouping as we don’t do forms without <fieldsets> and so it will make Zend_Form much more useful if it handles grouping of elements.

Allowing access to other values is useful for validating only if another form element is set, so I can see the benefit there. I think it would also be useful for those cases where you need the user to enter their password twice to confirm it.

All in all, it is good to see the proposal process working so well and I’m sure we’ll have a much more useful Zend_Form component as a result.

Posted by Rob on 1st January 2008 under News | Comments Off

Comments are closed.