docs: function(options, cb) {
    var form = options.form;
  
    //The submission needs to be initialised with a form.
    if (!form) {
      return cb("No form entered.");
    }
  
    return cb(undefined, new Submission({form: form, formId: form._id}));
  }