It seems that in the 2.1.3 version, using woody2.js instead of woody.js, the flow validator is called only if the definition validation is done. That may help, but only if the definition validation issue works...
-- Olivier
On 06/01/2004 17:16, [EMAIL PROTECTED] wrote:
My flow validator function begins with : <code> if (!form.getWidget().isValid()) { return false; } </code>
But even when the form seems to be valid, isValid() returns
false, and I can never run
"business validation" code after the test...
Usually this is caused by the form template not including a widget which is marked
with 'required="true"'. Because the widget is not in the template, it is not returned
in the form post, and thus is set to null during readFromRequest() causing the form
(at least the visible parts that were included in the template) to look valid while
there is actually still an invalid widget.
[EMAIL PROTECTED]& I have this too! Most of my forms don't have "required=true" widget, due to the nature of the data. How can this be solved?
Bye, Helma
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
