Re: Error when adding in Javascript for form validation

2006-03-17 Thread Antonio Gallardo
Hi Derek, Sorry for my delay. I've tested the same validator in cocoon 2.1.8 and it works. Something like: return true; ... Best Regards, Antonio Gallardo. Derek Hohls wrote: Antonio In my cocoon.xconf I have: ... Is this what you meant? My validation is for a rep

Re: Error when adding in Javascript for form validation

2006-03-08 Thread Derek Hohls
Antonio In my cocoon.xconf I have: ... Is this what you meant? My validation is for a repeater row: the XML now looks like: return true; ... The stack trace looks like: Original Exception: java.lang.NullPointerException at or

Re: Error when adding in Javascript for form validation

2006-03-06 Thread Antonio Gallardo
Derek Hohls wrote: Antonio I do not understand - I thought Javascript validation was pretty much a standard and tested part of CForms for a while now... are you saying it *never* worked in 2.1.5?! Nope. Sorry for my previous mail. It works in 2.1.5. I though the problem was 2 javascript s

Re: Error when adding in Javascript for form validation

2006-02-27 Thread Derek Hohls
Antonio I do not understand - I thought Javascript validation was pretty much a standard and tested part of CForms for a while now... are you saying it *never* worked in 2.1.5?! Thanks Derek >>> [EMAIL PROTECTED] 2006/02/28 09:17 AM >>> Derek Hohls wrote: >(Cocoon 2.1.5) > >I get the drea

Re: Error when adding in Javascript for form validation

2006-02-27 Thread Antonio Gallardo
Derek Hohls wrote: (Cocoon 2.1.5) I get the dreaded java.lang.NullPointerException when I try and introduce Javascript validation into a form. I strippped all the logic out down to an abolsutely basic: var success = true; return success;

Error when adding in Javascript for form validation

2006-02-22 Thread Derek Hohls
(Cocoon 2.1.5) I get the dreaded java.lang.NullPointerException when I try and introduce Javascript validation into a form. I strippped all the logic out down to an abolsutely basic: var success = true; return success; but this do