After try lot of JS function, I find a simple action to validate my form this an ajaxSubMitButton :

save : AjaxSubmitButton {
_onClickBefore_ = "formValidator(formName)";
formName = //yourFormName
action = "" method
...
..
}

if formName = "validate" then put this : _onClickBefore_ = "fomValidator(validate)";

Thanks
Envoyé depuis iCloud

Le 08 jan 2012 à 23:46, Raymond NANEON <rnan...@me.com> a écrit :

I change to function() {return formValidator(this); } but nothing happen. There is no way to use ajaxsubmitt button and _javascript_ formValidator?

Thanks
Envoyé depuis iCloud

Le 06 jan 2012 à 11:14, Pascal Robert <prob...@macti.ca> a écrit :

Unless _javascript_ is available in French, fonction() should probably be function()

> Typo? What is typo?
>
> Envoyé de mon iPhone
>
> Le 6 janv. 2012 à 18:41, John Huss <johnth...@gmail.com> a écrit :
>
>> fonction
>>
>> Typo?
>>
>> On Fri, Jan 6, 2012 at 8:55 AM, Raymond NANEON <rnan...@me.com> wrote:
>> Hi All,
>>
>> I have somes problems with validation of my form fields. I use custom ajax submit button and when I put this parameter _onclick_ = "fonction() { return formValidator(this}"; to the button, nothing happen. but whan I remove my custom button and add a standard wosubmitbutton, it works fine.
>>
>> My question is Does exist a WebObjects framework for form validation?
>>
>> Thanks
>> Envoyé depuis iCloud
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>>
>> This email sent to johnth...@gmail.com
>>
>>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>
> This email sent to prob...@macti.ca

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to