Actions

EM Enhancements: Difference between revisions

From LimeSurvey Manual

No edit summary
Line 11: Line 11:
== Make EM access earlier runs of same survey (waves) ==
== Make EM access earlier runs of same survey (waves) ==


TODO
* Add a way for pugin to update/extend Expression manager [https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/expressions/em_manager_helper.php#L106 knowVars] (currenlty private)
** Only at start ? Allow to add new var for each question, example
*** QCODE.help
*** QCODE.statMedium , QCODE.statCount ... see [https://framagit.org/SondagePro-LimeSurvey-plugin/getStatInSurvey/blob/master/README.md 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


== Make default value better (expressions) ==
== Make default value better (expressions) ==

Revision as of 18:08, 6 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

TODO

Make EM access earlier runs of same survey (waves)

  • 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

Make default value better (expressions)

TODO

Write-at-submission (Denis plugin)

TODO

Expand EM using plugin

TODO

Read quota from expression

TODO