Initial version of the client side validator. Including a reguired and length validator