Last Tuesday I had the privilege of sharing my experiences and thoughts on how to handle clientside validation at this months JavaScript North East meetup. It’s a non trivial problem and there are a number of things you have to be aware of before diving in. Most of the open source solutions I’ve worked with in the past I’ve found lacking, the main one being how to complement and reconcile validations performed on the server with those on the client.
Finally I shared how at Conferize, we’ve made use of React to build our own clientside validation library. React makes light work of handling internal state and provides a consistent event lifecycle across browsers to overcome these challenges. It’s something which we’ll hopefully be open sourcing sometime in the near future.