- Posts: 78
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Checkboxes combined with open ended question
- tixeon
- Topic Author
- Offline
- Senior Member
So, hide the question text for the second question. This needs to work in both full screen and mobile mode.
I had a script I used to use in the old version, but it doesn't work in the new one (I realise it will also need updating to multiple-opt instead of list-radio, I tried that and it won't work).
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ // Identify this questions var qTextDisplay = $('#question{QID}'); var qRadio = $(qTextDisplay).nextAll('.list-radio:eq(0)'); // Radio question styles $(qRadio).css({ 'margin-top': '-10px' }); $('td.questiontext', qRadio).parent().css({ 'display': 'none' }); }); </script>
I am using Limesurvey Pro Version 3.15.1
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10635
- Thank you received: 3699
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Currently not working in 3.X
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
And that is why many don't like the plugin approach for things like this. This is a feature that many other survey systems have out of the box. OK, we can create it in LS with a plugin, but when a new version comes out, plugins might not be up to date yet, which means LS looses a feature.I really need to update gitlab.com/SondagesPro/QuestionSettingsType/checkboxForText plugin.
Currently not working in 3.X
Don't get me wrong, your plugins and your work is great. But if we put every new feature (and this one is not an uncommon request, this is a pretty standard approach in research) into a plugin, LS will not progress and with every new version, LS will be lacking a lot of features when a new version comes out, which will also cause less people to update, if they depend on certain features with their surveys.
I think this checkbox for text feature should be a core feature.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10635
- Thank you received: 3699
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
I don't understand what the problem is with using two questions and a little styling.
It is certainly not a problem for you. You create things like that in a few seconds. However, there are many people out there that are users of survey software, but not necessarily programmers. And for those these workarounds, while great to have at all, are often major hurdles and make the development of a questionnaire so much more complicated and time consuming than rather having the option within the question configuration.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Don't tell me Core feature is better than plugin feature …holch wrote: And that is why many don't like the plugin approach for things like this.
…
See all core feature broken during some month * …
Core is really more hard to fix than plugin , with a plugin : if it don't work for your : you can more easily update and fix it even without PHP dev know : less line is more easy than a BIG core system .
Denis
* If you want example : just ask … i have a lot …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
I can't judge this, as I am not a developer, so I just have to accept it.Core is really more hard to fix than plugin , with a plugin :
Anyway, I think important/often used features should be a core plugin at least, because then you still have the ease of updating/fixing, but it needs to work before a stable version is shipped.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Then : LimeSurvey is unstable since a lot of years…holch wrote: Yes, core features are often broken, but then I can consider the application as "not stable" or "not complete".
Why do you think wordpress, or drupal or spip or even prestashop or magento seems nude when install from scratch
PS
Anyway, I think important/often used features should be a core plugin [strike]at least[/strike], because then you still have the ease of updating/fixing, but it needs to work before a stable version is shipped.
I remove the at least : i think it can be core plugin (or modules or question template or anything else) but currently : not added to core functionnality.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
Exactly...Then : LimeSurvey is unstable since a lot of years…
And with Drupal this is actually an issue. Many users are still on old versions of Drupal, must because the modules they require are not ported to newer versions (yet). However, Drupal supports older versions with security updates, now from what I see the LTS for 2.06+ was only because 2.x wasn't stable or usable in productive environments for quite a while after its release (in my opinion).Why do you think wordpress, or drupal or spip or even prestashop or magento seems nude when install from scratch
If we wouldn't have your plugins and Tpartner's workarounds, LS would only be worth half of what it is. And while it is great to have these, they depend on exactly 1 person. This is not a very sustainable approach, I'd say. It is great to have these workarounds/plugins at all, because they allow you to do things that otherwise would not be possible within LS out of the box. But I don't think that they are very user friendly for most of the LS users. Many of our users are total beginners with no real experience in programming, etc. So in the long run, the most used workarounds should become features one day, in my opinion. How they are implemented into core, I don't really care. If it is a core plugin, or a module or whatever you want to call it.
But this might be just my point of view of how a survey system should work.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Since all my code is public , it can be updated by anyone .holch wrote: …
And while it is great to have these, they depend on exactly 1 person. This is not a very sustainable approach, I'd say.
…
And it's already the case , even if i don't know where (i can confirm i see my code updated 2 times on my clinet server).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
It can be updated, yes. And it is great. But let's be honest, how likely is that?Since all my code is public , it can be updated by anyone.
If you don't update your plugins, they will not be updated. There might be exceptions, but...
We need to be realistic. This is open source. It can be used and modified by anyone. But we see in our daily practice that there are very few that are able to do so and even less that are willing to do so.
I am sure your code has been used and modified many times. But most probably improvements have not been given back to community/you.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.