Dan Ochs schrieb:

Hello,

> 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)
event.source.setValue(null);

maybe this helps you (just set the value?)

Christoph

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

Reply via email to