Hi,

I ran into this issue as well. onValidate() is actually called multiple
times. Try it with onValidateFromNewItem(). I can't check if that's how I
solved it here.


Regards,
Olivier




On Wed, 19 Mar 2008 11:39:55 +0100, "Martin Kersten"
<[EMAIL PROTECTED]> wrote:
> Having a simple form containing a simple field (TextField) I have
> problems validating
> its content.
> 
> <t:form id="newItemForm">
>    <input t:type="textarea" t:id="newItem" t:value="newItem"/><br/>
> </t:form>
> 
> 
> The validation is done using onValidate. The Form is 
> processed using onSuccess. The problem arises that onValidate is 
> invoked *before* the property is updated with the value to validate.
> 
> Do I have to inject the textarea with the given id?
> 
> 
> Cheers,
> 
> Martin (Kersten)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to