News for hackers. Stuff that matters.
Re:Show HN: validate.js - lightweight JavaScript form valida... by hackernews on Monday October 17, 2011 @09:53PM (#3123453)
I am still implementing form validations as server-side validations and not sure I will ever change that.

Super easy to deal with on a simple ajax request and it's in place for all requests. If a POST/PUT is done with an ajax request simply return the error message. Otherwise, set the HTTP status code and render the form with the error as the response.

There are no comments on this comment yet.