EM Enhancements: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) (→Write to token attributes from survey: See Talk) |
DenisChenu (talk | contribs) |
||
Line 27: | Line 27: | ||
*** QCODE.help | *** QCODE.help | ||
*** QCODE.statMedium , QCODE.statCount ... see [https://framagit.org/SondagePro-LimeSurvey-plugin/getStatInSurvey/blob/master/README.md getStatInSurvey] | *** QCODE.statMedium , QCODE.statCount ... see [https://framagit.org/SondagePro-LimeSurvey-plugin/getStatInSurvey/blob/master/README.md getStatInSurvey] | ||
*** | *** Maybe better with QCODE.pluginname.varfromplugin (by default) . Decison must be done about : allowing update existing part. | ||
*** PluginName:Something (like we have TOKEN:SOMETHING) | |||
** At whole page ? Allowing to update with a specific params in beforeSurveyPage ? Or create a new updateKnowVar static function ? | ** 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 to update TOKEN:SOMETHING too |
Revision as of 11:58, 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
Make EM access earlier runs of same survey (waves)
TODO
Make default value better (expressions)
See : yesNo_defaultvalue_widget
Write-at-submission (Denis plugin)
- Simple usage of afterSurveySubmitted updateTokenByResponse
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
- Maybe better with QCODE.pluginname.varfromplugin (by default) . Decison must be done about : allowing update existing part.
- PluginName:Something (like we have TOKEN: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
- Only at start ? Allow to add new var for each question, example
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)