PDA

View Full Version : YUI form validation


yogurtearl
11-13-2006, 12:25 PM
form validation
A YUI version of this:
http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/

Yogurt Earl

jack.slocum
11-13-2006, 09:39 PM
It's the primary item on the .34 list and it will make that script look like a toy.

Jack

jbowman
11-13-2006, 09:48 PM
Hey Jack, when you do come up with your form validation library, could you please throw in the caveat that it should not replace server side data validation, but rather, be used a tool to make the user experience better?

I do the security reviews for internal app development in my organization and I can't count the times I've had to demonstrate how easy it is to modify both GET and POST requests to bypass validation done using javascript :)

mdissel
11-17-2006, 02:49 PM
Any news on this feature request? is this planned on the short or long term?

Thanks
Marco

jack.slocum
11-17-2006, 11:13 PM
The forms library is the major component planned for .34.

It was originally planned for .33 but some donations for BorderLayout enhancements got it bumped. Sponsored enhancements get top priority (of course). :)

allaboutyui
11-20-2006, 08:06 AM
Yeah I've used the prototype validation linked in the first post and it is cool.

Having decided to use YUI exclusively, this is something I was going to implement myself :)