Yes, I'm writing more features to client-side validation even with very short generated code.
When tested I'll post here and on bugzilla ;-) bye, Luca Garulli www.Pro-Netics.com (member of Orixo.com - The XML business alliance) OrienTechnologies.com - Light ODBMS, All in one JDO solution On Mon, 20 Dec 2004 12:58:43 -0500, Ben Anderson <[EMAIL PROTECTED]> wrote: > It took me while to get that script working. I put my modifications > in bugzilla. So this funciontionality isn't currently in the cocoon > base, correct? Also, I believe only type validation is currently > implemented? e.g. no client-side validation would get created for > something like (besides to validate that it is a number): > <fd:field id="age"> > <fd:label>Your age:</fd:label> > <fd:datatype base="long"/> > <fd:validation> > <fd:range min="0" max="150"/> > </fd:validation> > </fd:field> > > -Ben > > > On Sat, 18 Dec 2004 12:56:54 +0100, oceatoon <[EMAIL PROTECTED]> wrote: > > Ben Anderson wrote: > > > > > Does cocoon have the ability to generate javascript validation for me? > > > I thought it did, but I can't the documentation anywhere and don't > > > see anything in the samples. > > > Thanks, > > > Ben > > If you mean client side validation, > > check this out > > > > New patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=32517 > > Previous (dependent) patch: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=32419 > > > > depending on your use case, there several ways to integrate it. But in the > > submitted version it will create js client side validation for every widget > > you have in your form template.If you need only validation on specific > > widgets it's not much to change, just ask for it. > > Regards > > Tibor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]