I just have some thoughts about this issue:

In validation.xml, one can specify the page of a filed like:
<field property="companyName" depends="required" page="1"><arg0 key="company"/></field>

But doing so will limit the filed to be defined in page 1 (coupling the field and the 
page).  That will defeat reusability.  I mean if I want to use this filed in page 2 of 
some other wizard, no validation will be processed.  Am I seeing this correctly?

I think one of the solution is to modify the validator code.  The validator code 
should check the existence of the field before validating (even if they are present in 
the validation.xml file).  The fields shouldn't be validated if they don't exists.

-- Derek

Reply via email to