(on Monday, 06 July 2009, 02:52 AM -0700):
> I want to make doubly sure that the validators I write on a Zend_Dojo_Form
> will also create validators on the client side. For example, if I create a
> regex it should be applied to the client side as well as the server, and
> text box entry sizes should apply on the client as they do on the server.
>
> Even if it mostly works with a few caveats, that would be unacceptable since
> I couldn't be sure what those caveats are.
They are *not* tied together at this time. It's a feature I'd like to do
at some point, but I have no timeline or roadmap for it.
You *can*, however, specify client-side validators when defining your
form elements (in addition to your server-side validators), and there
are examples in the Zend_Dojo documentation showing this.
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论