I agree with David's approcah. Client side capabilities are truly unknown - especially when you consider cell phone and PDA clients. It's wise to design the UI for the "dumbest" client available.

David E Jones wrote:


On Aug 31, 2006, at 10:29 AM, Chris Howe wrote:

The contributing member's javascript skills aren't as
strong as we'd like.


Hmmm.... speak for yourself!

However, as a community our
server side validation scripting is very strong, or at
least OFBiz makes server side validation pretty easy.
Ideally, you may not want the round trip to tell
somebody they did missed a field, but until someone
finds it important enough to contribute client side
validation, I imagine it's not going to change very
much ;)


The real issue is that if you do client side validation you still HAVE to do server side validation because client side validation is not reliable unless you have tight control of the browser client being used, and its configuration (since JavaScript can be turned off in most browsers).

Because of that we decided to go with just server side stuff to simplify the development. For custom UIs you can easily add client side validation, and this is often done.

-David



--- Sam Dave <[EMAIL PROTECTED]> wrote:

Hi,

 Can anybody of you tell me why Ofbiz didn't
implement any client side validation for required
fields in any form ????

 Thanks in advance.
 Sam Dave

---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email
and get things done faster.




Reply via email to