Box UK - be creative. be innovative. be bold.

Advanced Performance Techniques

Validation’s what you need, if you wanna be a record breaker

Web browsers are now mature enough to have fairly standard Javascript implementations.  Therefore, Javascript should now be used for most client-side form validation.  Although this may seem like an additional piece of code for the user to download, they will appreciate it when they can be told – almost in real time – when they have not filled out forms correctly, giving them a ‘quicker’ experience and also saving server bandwidth and processing power for the form validation and return of page again.  Again, the Javascript should be in an external file for caching purposes, and should be re-used across multiple forms.