On Dec 21, 2005, at 12:36 PM, Kevin Dangoor wrote:
2. The AJAX way. The validation is done server-side, and the error
messages are sent back with JSON and rendered in the form somehow.
This
would be neat but is it possible to prevent the same form being sent
twice to the server (once for validation, then again for execution)
I had been thinking that it would be cool if FormEncode validators (or
a derivative thereof) could somehow specify JavaScript validation to
occur for the field. But, I punted at that for the time. If you want
to experiment, have at it!
I just posted a little experiment in a another message (RE: How I do
form form validation...). Let me know what you think about that
approach.
--Tracy