cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <>
Subject Re: [CFORM] How can I remove a previous validation error from a widget?
Date Thu, 04 Aug 2005 09:05:00 GMT
Dan Ochs schrieb:


> I have tried removing the validation error by doing this, and the
> validation error is removed, but the form does not submit and I get
> the page back again, but without any errors. (So I have to click
> submit twice after the error is fixed)
> else{
>    form.lookupWidget("fieldId").setValidationError(null);
> }

In the countryselector example i found this:

// Reset the value (will clear validation error)

maybe this helps you (just set the value?)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message