Hi Ed,

Sorry, I hadn't really understood what you meant.
Well, I found it easier to process all the form validations on the client
side, because I have large forms with lots of elements. I check and process
them before sending, so the server task is far lighter.

I haven't tried the server-side validation.

Regards,
Matthieu


> I see your point, however since the validation is done on the server
> rather than on the client, I was hoping it to be something that Cocoon
> could accomplish.
>
> I have played it with it some more and am stuck on the "last mile". I
> can switch the validation rules, however, I still need to figure out how
> to reset the validation results from the prior validation attempt before
> re-submitted results are validated again. Otherwise, the validator seems
> to remember the prior validation result for the field, validation rule
> of which has changed, and fails it.
>
> Regards,
>
> Ed
>
> Matthieu Benéteau wrote:
>
> >This is not a Cocoon2 but a DHTML issue.
> >You have to use JavaScript.
> >
> >Try this tutorial page :
> >http://www.pageresource.com/jscript/jforms.htm
> >
> >Regards,
> >Matthieu
> >


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to