Thread: [limesurvey-developers] ideas for playing with / testing Expression Manager
The leading Open Source survey tool
Brought to you by:
c_schmitz
From: Thomas W. M. M. M. <tw...@co...> - 2011-10-06 18:35:19
|
All- (1) What custom JavaScript will users need in 2.0? http://docs.limesurvey.org/Expression+Manager+HowTos has new demos, plus two .lsg group files attached. Please give them a try. Now that it supports on-page calculation and report generation (e.g. on-page INSERTANS:xxx), what's left that people would need JavaScript for? Tony, especially, since you're the JavaScript guru, what are your thoughts on this? (2) Are there any Conditions that EM can't support? Working with Thibault, I'm pretty sure I covered all the bases, but testing is always wise. http://localhost/limesurvey_ci/index.php/admin/expressions/test has functions to preview the conversion of all of your Conditions into Relevance (and also to go ahead and do the conversion). Do you have an conditions that don't look right after conversion? To test that it works as expected, use the Conditions converter, then delete the conditions for your survey, and make sure that it runs as expected using Relevance. Thanks. /Tom |
From: Tony P. <tpa...@pa...> - 2011-10-06 19:56:36
|
Hi Tom, Great work! Err.I think that "guru" is stretching things a bit. Off the top of my head, the most common requests for JavaScript that I see are (not necessarily in order of frequency): . Piping text - EM does it . Real-time scoring (assessments) - EM does it . Complex conditions - EM does it . Filtering - question/sub-question display - EM does it . Storing data in hidden question (to be stored in database) - EM does it . Complex answer validation - Not sure if EM does it . Setting default answers (most question types) - Not sure if EM does it it . Looping/branching - Not sure if EM does it . Randomizing questions and sub-questions (often with fixed elements) . Mutual exclusivity of answers . DOM element manipulation (moving, positioning, styling, etc) T. From: Thomas White, MD, MS, MA [mailto:tw...@co...] Sent: October-06-11 2:35 PM To: lim...@li... Subject: [limesurvey-developers] ideas for playing with / testing Expression Manager All- (1) What custom JavaScript will users need in 2.0? http://docs.limesurvey.org/Expression+Manager+HowTos has new demos, plus two .lsg group files attached. Please give them a try. Now that it supports on-page calculation and report generation (e.g. on-page INSERTANS:xxx), what's left that people would need JavaScript for? Tony, especially, since you're the JavaScript guru, what are your thoughts on this? (2) Are there any Conditions that EM can't support? Working with Thibault, I'm pretty sure I covered all the bases, but testing is always wise. http://localhost/limesurvey_ci/index.php/admin/expressions/test <http://localhost/limesurvey_ci/index..php/admin/expressions/test> has functions to preview the conversion of all of your Conditions into Relevance (and also to go ahead and do the conversion). Do you have an conditions that don't look right after conversion? To test that it works as expected, use the Conditions converter, then delete the conditions for your survey, and make sure that it runs as expected using Relevance. Thanks. /Tom ======= Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.18380) http://www.pctools.com <http://www.pctools.com/?cclick=EmailFooterClean_51> ======= |
From: Thomas W. M. M. M. <tw...@co...> - 2011-10-07 13:51:11
|
Tony- Thanks for the feedback. Just to clarify a few of your bullet points: · **Filtering - question/sub-question display – EM does it *Not yet, but on the wish list. * **· **Complex answer validation – Not sure if EM does it**** *Not yet, but this would not be very hard to add. In fact, I may need to add it in order to properly manage relevance / validation in question-by-question and group-by-group where pages need to be skipped* **· **Setting default answers (most question types) – Not sure if EM does it it**** *Not yet, but would be easy to add* **· **Looping/branching – Not sure if EM does it**** *What do you mean by this? Branching = Jumps via "goto" - like Goto question X? Looping = repeat the same group(s) X times, with slightly different variable names or virtual arrays (e.g. so if doing a census where asking ages of each family member, have array-like way of summing ages of all reporting family members?)* /Tom On Thu, Oct 6, 2011 at 3:56 PM, Tony Partner <tpa...@pa...>wrote: > Hi Tom,**** > > ** ** > > Great work!**** > > ** ** > > Err…I think that “guru” is stretching things a bit…**** > > ** ** > > Off the top of my head, the most common requests for JavaScript that I see > are (not necessarily in order of frequency):**** > > ** ** > > **· **Piping text – EM does it**** > > **· **Real-time scoring (assessments) – EM does it**** > > **· **Complex conditions – EM does it**** > > **· **Filtering - question/sub-question display – EM does it **** > > **· **Storing data in hidden question (to be stored in database) – > EM does it**** > > **· **Complex answer validation – Not sure if EM does it **** > > **· **Setting default answers (most question types) – Not sure if > EM does it it **** > > **· **Looping/branching – Not sure if EM does it **** > > **· **Randomizing questions and sub-questions (often with fixed > elements)**** > > **· **Mutual exclusivity of answers**** > > **· **DOM element manipulation (moving, positioning, styling, etc) > **** > > ** ** > > T.**** > > ** ** > > ** ** > > ** ** > > *From:* Thomas White, MD, MS, MA [mailto:tw...@co...] > *Sent:* October-06-11 2:35 PM > *To:* lim...@li... > *Subject:* [limesurvey-developers] ideas for playing with / testing > Expression Manager**** > > ** ** > > All- **** > > ** ** > > (1) What custom JavaScript will users need in 2.0? > http://docs.limesurvey.org/Expression+Manager+HowTos has new demos, plus > two .lsg group files attached. Please give them a try. Now that it > supports on-page calculation and report generation (e.g. on-page > INSERTANS:xxx), what's left that people would need JavaScript for? Tony, > especially, since you're the JavaScript guru, what are your thoughts on > this?**** > > ** ** > > (2) Are there any Conditions that EM can't support? Working with Thibault, > I'm pretty sure I covered all the bases, but testing is always wise. > http://localhost/limesurvey_ci/index.php/admin/expressions/test has > functions to preview the conversion of all of your Conditions into Relevance > (and also to go ahead and do the conversion). Do you have an conditions > that don't look right after conversion? To test that it works as expected, > use the Conditions converter, then delete the conditions for your survey, > and make sure that it runs as expected using Relevance.**** > > ** ** > > Thanks.**** > > ** ** > > /Tom**** > > ** ** > > > > > > > ======= > Email scanned by PC Tools - No viruses or spyware found. > (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.18380) > http://www.pctools.com<http://www.pctools.com/?cclick=EmailFooterClean_51> > ======= **** > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > limesurvey-developers mailing list > lim...@li... > https://lists.sourceforge.net/lists/listinfo/limesurvey-developers > > |
From: Tony P. <tpa...@pa...> - 2011-10-07 17:02:04
|
Hi Tom, By "branching", I do mean "Jumps via "goto"" - skipping multiple pages/groups without the use of conditions. I currently do this by changing the value of the #thisstep and the #movenext inputs and submitting the page. By looping, I just mean going back in the survey several steps, either to amend an answer or to visit previously skipped groups. I do this the same way as my "branching". T. From: Thomas White, MD, MS, MA [mailto:tw...@co...] Sent: October-07-11 9:51 AM To: lim...@li... Subject: Re: [limesurvey-developers] ideas for playing with / testing Expression Manager Tony- Thanks for the feedback. Just to clarify a few of your bullet points: . Filtering - question/sub-question display - EM does it Not yet, but on the wish list. . Complex answer validation - Not sure if EM does it Not yet, but this would not be very hard to add. In fact, I may need to add it in order to properly manage relevance / validation in question-by-question and group-by-group where pages need to be skipped . Setting default answers (most question types) - Not sure if EM does it it Not yet, but would be easy to add . Looping/branching - Not sure if EM does it What do you mean by this? Branching = Jumps via "goto" - like Goto question X? Looping = repeat the same group(s) X times, with slightly different variable names or virtual arrays (e.g. so if doing a census where asking ages of each family member, have array-like way of summing ages of all reporting family members?) /Tom On Thu, Oct 6, 2011 at 3:56 PM, Tony Partner <tpa...@pa...> wrote: Hi Tom, Great work! Err.I think that "guru" is stretching things a bit. Off the top of my head, the most common requests for JavaScript that I see are (not necessarily in order of frequency): . Piping text - EM does it . Real-time scoring (assessments) - EM does it . Complex conditions - EM does it . Filtering - question/sub-question display - EM does it . Storing data in hidden question (to be stored in database) - EM does it . Complex answer validation - Not sure if EM does it . Setting default answers (most question types) - Not sure if EM does it it . Looping/branching - Not sure if EM does it . Randomizing questions and sub-questions (often with fixed elements) . Mutual exclusivity of answers . DOM element manipulation (moving, positioning, styling, etc) T. From: Thomas White, MD, MS, MA [mailto:tw...@co...] Sent: October-06-11 2:35 PM To: lim...@li... Subject: [limesurvey-developers] ideas for playing with / testing Expression Manager All- (1) What custom JavaScript will users need in 2.0? http://docs.limesurvey.org/Expression+Manager+HowTos has new demos, plus two .lsg group files attached. Please give them a try. Now that it supports on-page calculation and report generation (e.g. on-page INSERTANS:xxx), what's left that people would need JavaScript for? Tony, especially, since you're the JavaScript guru, what are your thoughts on this? (2) Are there any Conditions that EM can't support? Working with Thibault, I'm pretty sure I covered all the bases, but testing is always wise. http://localhost/limesurvey_ci/index.php/admin/expressions/test has functions to preview the conversion of all of your Conditions into Relevance (and also to go ahead and do the conversion). Do you have an conditions that don't look right after conversion? To test that it works as expected, use the Conditions converter, then delete the conditions for your survey, and make sure that it runs as expected using Relevance. Thanks. /Tom ======= Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.18380) http://www.pctools.com <http://www.pctools.com/?cclick=EmailFooterClean_51> ======= ---------------------------------------------------------------------------- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ limesurvey-developers mailing list lim...@li... https://lists.sourceforge.net/lists/listinfo/limesurvey-developers ======= Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.18380) http://www.pctools.com <http://www.pctools.com/?cclick=EmailFooterClean_51> ======= |