You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by BRAUD Denis <DB...@micropole-univers.com> on 2003/11/21 18:19:57 UTC

Woody - Field validation on change

Hi,

I'm trying Woody to develop a form with field validation "on change" before
the general submit.

I've modified the sample woody/forms/form2_template.xml to add the
"submit-on-change" feature :
<wt:widget id="phone" > --> <wt:widget id="phone" ><wi:styling
submit-on-change="true"/></wt:widget>
After an incorrect change on phone field, the form is reloaded without any
validation messages.
Did I miss something ?

With Woody, is it possible or is it planned to validate user input on the
client-side with javascript 
and on the server-side by defining only the form definition ?

Denis Braud