Message from JavaScript discussions

May 2017

— Ripped from http://rickharrison.github.io/validate.js/

— 

I quite like that one and you could deploy it both on the server and client since you're using node :D

— Nice, thanks

— Those should be everywhere

— Haha

— Did you pass data in ajax through xml, or a different data structure?

— For my php server, I just do a plain-jane POST using the submit button

— That library auto-intercepts the submit to validate, then cancels if it is invalid data

— So you don't have to wire it up to the button, just the form

— Mhmm.

— How does the server see the ajax request?

— It's not ajax