The jQuery validation and the jQuery unobtrusive validation are frameworks for client validation. The default implementation uses the en-US culture, that is, number in the format of dot deparating the decimal places and date in the format MM/dd/yyyy. In this post we will customize that according with the culture chosen by the user.
If you already develop an ASP.NET MVC application in your computer that has some specific culture, pt-BR in my case, and after you publish to a server that has a different one, Azure using en-US in my case, you will have some unexpected results when typing date and decimal values. In this post I will show how to have sure that your application will work as expected in any server. We will accept values corresponding to the culture chosen by the user.