Check form validity on server

Yeah this is the client side spec for what we want the server to do.
Probably easier to talk you through it
On 6 Nov 2014 12:09, "Stephen J. Collings" <notifications@github.com> wrote:

> In assets/js/components/Validation.js:
>
> >      }
> >    };
> >
> > +  /**
> > +   * Check the form's validity with the server and if valid, submit it
> > +   * @param {Object} e
> > +   */
> > +  Validation.prototype.checkValidityWithServer = function(e) {
> > +    var _this = this;
> > +
> > +    e.preventDefault();
> > +    $.ajax({
> > +      url: this.$el.attr('action'),
> > +      dataType: 'json'
>
> Is this PR a work-in-progress? No data is being sent here.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/moneyadviceservice/dough/pull/183/files#r19940466>.
>