[Seaside] Field validation?

Boris Popov boris at deepcovelabs.com
Tue May 30 16:26:37 UTC 2006


The round of questioning continues. How would I go about doing field
validation nicely? Say, an amount field that contains a valid description of
a numeric amount. I can think of three ways of doing it:

- Client side JavaScript: is there any abstraction model for this in Seaside
or Scriptaculous?
- Server side processing: could validate the fields in the form submit
callback and return back to the form with some feedback
- AJAX: could validate the field on the server as soon as user leaves it,
any good examples of this?



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060530/4960f784/smime.bin

More information about the Seaside mailing list