View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08850 | Feature requests | Plugins | public | 2014-03-13 16:50 | 2026-11-20 10:49 |
| Reporter | mfaber | Assigned To | |||
| Priority | normal | Severity | @50@ | ||
| Status | acknowledged | Resolution | open | ||
| Summary | 08850: Plugin idea: Merge different question types | ||||
| Description | TPartner is famous worldwide for his great js tricks which facilitate the combination of two or more questions of different types into one question. ;) I'd like to try to create a plugin that looks at the question (or help) text of questions in the survey. Whenever theres a tag similar to ##MERGE#QNUM1#QNUM2## the plugin creates the appropriate JS code to merge these two questions. Of course different JS code would be needed for combinations of different question type. I would start with just a few and extend little by little. | ||||
| Additional Information | Before I invest too much time, I'd like to ask your opinion: @mdekker: is this in principle possible with the plugin system (which hook can I use)? @tpartner: I'd like to harvest the forum and build on your JS work, would that be ok for you? Of course, you'll be credited in the source code. Or maybe you're interested to contribute to the plugin directly and we'll make this a co-production. Could be cool! Looking forward to hear your opinion on this! | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Git branch / Pull Request URL | |||||
|
Yeah, cool idea. I do it now with custom jQuery plugins. Yes, of course, use whatever you would like and feel free to ask for clarification on anything you need. Bear in mind that many of the forum solutions are quickly done so may need a little cleaning up. |
|
|
Hi @mfaber : all Question and Question attribute system are rewritten in 6 month (or more), then I think doing it now is a bad idea, because you have to 'redo' whole again and again. I have some 'Add this script to your template, and add this to your question (selectFilter({QID}) => this one can be easily done in attribute , but don't want to redo it again in 2.06/2.07/2.08 ..... Denis |
|
|
Thanks for the warning, Denis...will then probably just wait a while... Rewriting the whole question system (qandahelper?) will be a massive undertaking... is this the "question-to-objects" plan? |
|
|
Yes : 2.1 : no question and question attribute in qanda_helper. All are/must be in Plugin : Question attribute plugin and Question plugin. Think we have a lot of debug ... |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-03-13 16:50 | mfaber | New Issue | |
| 2014-03-13 16:51 | mfaber | Additional Information Updated | |
| 2014-03-13 16:51 | mfaber | Issue Monitored: mdekker | |
| 2014-03-13 16:51 | mfaber | Issue Monitored: tpartner | |
| 2014-03-13 17:08 | tpartner | Note Added: 29246 | |
| 2014-03-17 16:43 | DenisChenu | Note Added: 29297 | |
| 2014-03-17 22:39 | mfaber | Note Added: 29307 | |
| 2014-03-18 08:36 | DenisChenu | Note Added: 29318 | |
| 2026-11-19 22:50 | c_schmitz | Status | new => acknowledged |
| 2026-11-20 10:49 | c_schmitz | Project | Bug reports => Feature requests |