Hi

Our project requires multiple stages of validation of data editable in a
form.

At first there is a draft stage - all submitted fields should be validated
but not all required fields have to be filled in - all submitted fields must
be persisted to database.

Second stage requires more in depth validation and even more so during third
stage. The required validation stage change does not coincide with form
submission but is process driven - the user is required to subsequently
update/adjust form data to comply to finer grain validations.

It seems not a problem to dynamically change validators and validation code
based on state.

What I would like to do is to after state changes from say stage 2 to 3 and
more validation errors would occur on submission of form is to start the
editing of data in a form with these validation errors/messages already
showing - in other words I want to call the validation framework of the
page/form before doing the submit but already on the initial rendering of
the page+form and have the validationdelegate do rendering of error messages
and fields in error.

Is this possible?

--
Cheers
Theo

Reply via email to