Attaching the number validation code to onkeydown was very problematic.
Changing to onblur is much cleaner, and probably nicer for the user.
This commit also fixes the problem that Number questions without a 'step'
set would not be checked for 'required'-ness.
Survey responses are now revision-aware.
The survey structure gets revisioned automatically as necessary when changes
are made on the Edit Survey screen (as necessary ~~ a response exists
for the current revision)
Fixed invalid calendar markup so that Date question type works in IE
Minor tweaks to ResponseJSON for more robustness
Fixed Number question type javascript
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
Survey Expression Engine now detects invalid variable names passed to value(), score(), etc..
Also now detects situations where you have jump targets/expressions defined at multiple levels - thus causing precedence rules to kick in (normally this indicates a mistake)
Fixed Survey edit page bug where TextEditor would not move after gotoExpression textarea resize caused items to move
Now stores all supplied answers to multi-answer question as arrayref
Variable [[var]] text replacement converts to comma-separated list
Expression Engine's value() returns appropriate value depending on context
Expression Engine's score() does sum of multi-answers, as you would expect
Updated related i18n & hover-help, and tests
Cleaned up survey js somewhat
* survey-rfe
Turned off package flag on expireincompletesurveyresponses
Merged Survey Templates
Cleaned up Survey i18n
Added Params::Validate to gotcha.txt
Added Survey upgrade script for doAfterTimeLimit and RemoveResponseTemplate
Updated SurveyJSON tests to recognise goto[Expression] on Section and Question
Merge branch 'master' into survey
removing traces
Added goto to sections and questions. Order of precedence is answer, question, then section.
removing surveybundle
removing trace
Survey.pm now has surveyJSON as a normal definition property, which is also versioned. Survey Responses are not versioned, so updating a survey can cause errors with ongoing responses.
Drag and drop functionality vastly improved in usability.
Time multiplier was set wrong
fixed typo in template
Added workflow (and email template to WebGUI/) to delete expired surveys and notify users via email.
Removed hard-coding of multi-choice bundles from administersurvey.js
Fixed regression in ResponseJSON's sectionId, questionId and answerId methods
Started working on Survey Multiple Choice bundle management.
Fixed template var regression in Survey.pm
Survey documentation improvements
...