sjivan
13 Nov 2006, 3:55 AM
I was wondering if you're planning of adding support for form validation. I recollect reading that the cell handlers of the editable datagrid were not yet reusable in forms. Has this changed?
One of the best forms I've seen is http://www.rememberthemilk.com/signup/ This could be hand build but it would be nice if YUI ext provided a better programmatic API which allowed you to easily check if all fields are valid, set focus of first field with error etc.
Support for client side and ajax validation (user name already exists) would be great.
The Dojo form validation has some useful features too : http://archive.dojotoolkit.org/nightly/tests/widget/test_validate.html
Unfortunately there are a couple of things that really annoy me
1. support for server side validation not baked in
2. the error text shows up upfront when the form is initially displayed and disappears when the user types in valid text. I much prefer the rememberthemilk version where on form display no errors are initially displayed.
Let me know your thoughts..
Thanks,
Sanjiv
One of the best forms I've seen is http://www.rememberthemilk.com/signup/ This could be hand build but it would be nice if YUI ext provided a better programmatic API which allowed you to easily check if all fields are valid, set focus of first field with error etc.
Support for client side and ajax validation (user name already exists) would be great.
The Dojo form validation has some useful features too : http://archive.dojotoolkit.org/nightly/tests/widget/test_validate.html
Unfortunately there are a couple of things that really annoy me
1. support for server side validation not baked in
2. the error text shows up upfront when the form is initially displayed and disappears when the user types in valid text. I much prefer the rememberthemilk version where on form display no errors are initially displayed.
Let me know your thoughts..
Thanks,
Sanjiv