1. A method comprising: reading a validation rule for a locale that includes a client that accessed a webpage; and generating validation script to check whether data entered into the webpage is valid for the locale, the validation script being configured to be embedded in a form used to present the webpage.