Actions

Difference between revisions of "EM Enhancements"

From LimeSurvey Manual

(Read quota from expression)
(Write to token attributes from survey)
Line 8: Line 8:
  
 
Point of view : i really think it can be in plugin, in workaround. But are a specific issue. [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 18:09, 6 June 2017 (CEST)
 
Point of view : i really think it can be in plugin, in workaround. But are a specific issue. [[User:DenisChenu|DenisChenu]] ([[User talk:DenisChenu|talk]]) 18:09, 6 June 2017 (CEST)
 +
 +
''Marcel'': This is an often requested, missing feature. Very often user data gets loaded into the token table and there is a question like "Is this address/email/phone number up to date: 'XYZ'?". If the user corrects data there should be an option to directly update the token data from within the survey. This also allows exporting the updated token data and re-use it at upcoming surveys.
  
 
== Make EM access earlier runs of same survey (waves) ==
 
== Make EM access earlier runs of same survey (waves) ==

Revision as of 11:03, 7 June 2017

Notes about adding additional enhancements to the expression manager.

  • Will changes break compatibility and thus bump major version?
  • What's the priority?
  • Who has time to implement it?

Write to token attributes from survey

Point of view : i really think it can be in plugin, in workaround. But are a specific issue. DenisChenu (talk) 18:09, 6 June 2017 (CEST)

Marcel: This is an often requested, missing feature. Very often user data gets loaded into the token table and there is a question like "Is this address/email/phone number up to date: 'XYZ'?". If the user corrects data there should be an option to directly update the token data from within the survey. This also allows exporting the updated token data and re-use it at upcoming surveys.

Make EM access earlier runs of same survey (waves)

TODO

Make default value better (expressions)

See : yesNo_defaultvalue_widget

Write-at-submission (Denis plugin)

Expand EM using plugin

  • Add a way for pugin to update/extend Expression manager knowVars (currenlty private)
    • Only at start ? Allow to add new var for each question, example
      • QCODE.help
      • QCODE.statMedium , QCODE.statCount ... see getStatInSurvey
      • Plugin:Something ?
    • At whole page ? Allowing to update with a specific params in beforeSurveyPage ? Or create a new updateKnowVar static function ?
      • Allow to update TOKEN:SOMETHING too
      • Allow same than before

Read quota from expression

  • If have a GUI for equation question type : we have an nothing to update more. And we have a way.
    • This can be tested with hacking database ;) (already done)