Last change
on this file since 531 was
531,
checked in by hendrikvanantwerpen, 11 years ago
|
- Return to using truly ISO formatted dates, including milliseconds.
- Also set constraint on surveyrun dates when value is initially set.
- Separate runs & results from surveys and questions.
- Moved date & email format to schema itself.
|
File size:
212 bytes
|
Line | |
---|
1 | var tv4 = require('tv4'); |
---|
2 | |
---|
3 | module.exports = function() { |
---|
4 | var result = tv4.validateResult.apply(tv4,arguments); |
---|
5 | if ( result.missing.length > 0 ) { |
---|
6 | result.valid = false; |
---|
7 | } |
---|
8 | return result; |
---|
9 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.