To elaborate on what Steve said, in onValidateFromForm(), 'form'
stands for the component id of the form, so for

<form t:type='form' t:id='myForm'>
</form>

the validate event handler for form will be

onValidateFromMyForm()


On Thu, Sep 8, 2011 at 12:25 PM, Steve Eynon
<steve.ey...@alienfactory.co.uk> wrote:
> void onValidateForm()
>
> is deprecated in T5.2 and has been removed in T5.3, best to use
>
> onValidateFromForm()
>
> instead. I mention it 'cos I got bit by it upgrading some apps from
> T5.1 to T5.3.
>
> Steve.
>
>
> On 8 September 2011 10:54, dick_hu <dickan...@gmail.com> wrote:
>>
>> Yohan Yudanara-2 wrote:
>>>
>>> server side or client-side validation?
>>>
>>> client-side validation,but not in tapestry
>>>
>>> If client side, then you can create regular <input type="button"
>>> onClick="blablabla()"> on .tml file.
>>> On blablabla() method you do the client-side validation and then submit
>>> the
>>> form.
>>>
>>> just submit the form in my way,like document.forms[0].submit ?
>>> this way can any other validation trigger?
>>>
>>> Is tapestry has it's own submit way?
>>>
>>
>>
>> --
>> View this message in context: 
>> http://tapestry.1045711.n5.nabble.com/Form-validate-on-submit-event-tp4780855p4780950.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Regards

Taha Hafeez Siddiqi (tawus)
http://tawus.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to