Actually -- use both! Javascript is great because it is instant and zero-bandwidth, or at least it doesn't require server response to process your data. As an additional sanity check do server side validation and/or cleanup on your data AFTER javascript has had a chance to prescreen or be side- stepped. -m On Jan 24, 2006, at 11:02 PM, Bhavin Shah wrote: > don't use java script, to validate the fields. Some > users may block Java Script, so there your code won't > work. PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/