Actions

EM Enhancements: Difference between revisions

From LimeSurvey Manual

Line 26: Line 26:
== Write-at-submission (Denis plugin) ==
== Write-at-submission (Denis plugin) ==


TODO
* Simple usage of afterSurveySubmitted [https://framagit.org/SondagePro-LimeSurvey-plugin/updateTokenByResponse updateTokenByResponse]


== Expand EM using plugin ==
== Expand EM using plugin ==

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

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)

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)

See : yesNo_defaultvalue_widget

Write-at-submission (Denis plugin)

Expand EM using plugin

TODO

Read quota from expression

TODO