Talk:EM Enhancements
From LimeSurvey Manual
Write to token attributes from survey
(moved from page)
- 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.
- DenisChenu (talk) 11:51, 7 June 2017 (CEST) Yes : and it's the point of `think it can be in plugin, in workaround` and can/must be done only after survey submitted. Olle and me already think to fix/improve plugin to be included more officially. I didn't write : “don't do it”, i only say : “don't do it in core , for all survey, by default”. LimeSurvey GUI (and EM) is already so complicated ....
- DenisChenu (talk) 11:55, 7 June 2017 (CEST) see : EM_Enhancements#Expand_EM_using_plugin too
- There has to be ways to add code in a modular fashion without using plugins? What about OOP? Olle (talk) 11:28, 8 June 2017 (CEST)
- --DenisChenu (talk) 11:42, 8 June 2017 (CEST) You can add extension and/or replace some Yii system using config currently. And this can be done in plugin ;) (example (i use init too for such things)). But at a time : you need a system to allow 'extension' to update config or ask to user to update manually config. See “create a new updateKnowVar static function» any current plugin can use any public function (from LS or from Yii)
- --DenisChenu (talk) 11:45, 8 June 2017 (CEST) see https://www.limesurvey.org/forum/plugins/111791-recaptcha-plugin-for-ls3#155658 : i think (maybe) you cazn replace an alias in plugin constructor ? Then, maybe : replace an existing extension (here for Captcha).