Re: ValidatorActionForm and java script validation....

2005-06-24 Thread Lucas Bern
Hi Lauren, I have benn trying to do that, but the java script code generated by validator framework seems to be tied to the name of the form... var formName = form.getAttributeNode("name"); oRequired = eval('new ' + formName.value + '_required()'); formName.value is the same as i

Re: ValidatorActionForm and java script validation....

2005-06-23 Thread Laurie Harper
Doh, scatch that; the 'name' attribute in the action mapping is, of course, the form name, so what I said is true of ValidatorActionForm only. Yawn. Bed time! L. Laurie Harper wrote: Yes, that's the point of ValidatorForm / ValidatorActionForm. The validation rules are looked up according to

Re: ValidatorActionForm and java script validation....

2005-06-23 Thread Laurie Harper
Yes, that's the point of ValidatorForm / ValidatorActionForm. The validation rules are looked up according to the action mapping 'name' or 'path' attribute, respectively. It shouldn't make any difference if the actions use the same form. L. Lucas Bern wrote: Hi guys does anybody know if