Hello,
I've been following the advanced multi-page form idea in the
documentation:
http://framework.zend.com/manual/en/zend.form.advanced.html#zend.form.advanced.multiPage
and I have a few issues.
First, because isVaild() is used on the form before it's rendered,
even before you've had a chance to fill out all pages, the first
presentation of the page is filled with error messages if you have the
element Error decorator on. Is there a way to check if a form isValid
without triggering the error decorators?
Second, if a page of the form is valid with all null entries (all
fields are optional) then the form will be valid even if the form
wasn't filled out since isValid() will return true for all null fields.
Has anyone else had these problems?
Thanks.
Jeffrey