Multiple numerical input problem after upgrade

More
4 years 9 months ago - 4 years 9 months ago #81393 by TMSWhite

aukevann wrote: Without insight in the reasons why it behaves like it does in the current version, I would suggest that the way it worked in previous versions (no zero needed in empty fields) is more intuitive and what you would expect when configuring such a question (and how other systems I worked with behaved).


The core question is, "for questions that have min_sum_value or equals_sum_value, is 'no response' acceptable".

When I initially implemented this, 'no response' was not acceptable in those cases, but the team voted the other way, so I changed it. I can change it back, but not without first getting approval from the team (as that might mess up other operational surveys and change the behavior of a stable release.

aukevann wrote: Also I am a bit concerned about the templates not being backwards compatible, as we have invested in creating our own.


It is possible that we've been blowing this out of proportion a bit. The CSS extensions were meant purely to provide additional functionality, not to change functionality. They were meant to be backwards compatible. However, we have run into some cases like yours where not all tips were behaving as expected with hide_tip, which is why I suggested adding in those lines of CSS code.

I don't have a good sense of exactly what is working differently in 1.92 vs 1.91 with a built-in 1.91 template. Perhaps you could open a bug report about the templates clarifying the odd behavior you are seeing. If there is an actual bug, we could fix that in the core and authors wouldn't need to upgrade their templates.
Last Edit: 4 years 9 months ago by TMSWhite.

Please Log in to join the conversation.

More
4 years 9 months ago #81399 by aukevann
Rather than debugging the work around, I would suggest for future development to either allow "no response" with the min_sum_value or equals_sum_value question or to make this an option. Would make it clear for new administrators how to set it up.

Please Log in to join the conversation.

More
4 years 9 months ago #81421 by holch

Also I am a bit concerned about the templates not being backwards compatible, as we have invested in creating our own.


This happens in many software when a new version comes out. Custom templates often need some adaptation. Of course this is a pain and in an ideal world I would love to see the custom templates not breaking, but I think this is something we have to live with for the sake of new features and functionalities.

In general I would love to see a diferent template system all over, because the current one lacks a little bit of flexibility, but in general it is simple and works, so I can live with it.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
4 years 9 months ago #81452 by TMSWhite

aukevann wrote: Rather than debugging the work around, I would suggest for future development to either allow "no response" with the min_sum_value or equals_sum_value question or to make this an option. Would make it clear for new administrators how to set it up.


Since this broke functionality you were depending upon, we can add a new advanced question option to 1.92+ to fix that "bug".

The proposed solution is to keep the old behavior on upgrade (so if you re-upgrade, or pretend to re-upgrade by setting the DBversion in your database to 154 and letting the upgrade process run again), but to have the default for new questions be the new behavior.

Please Log in to join the conversation.

More
4 years 9 months ago #81459 by TMSWhite
This is fixed in 1.92+ build 120606.

Existing surveys will use the old behavior (requiring an answer if equals_sum_value or min_sum_value are set). There is a new advanced question setting called "value_range_allows_missing" which lets authors choose the new (default) or old behavior.

Please Log in to join the conversation.

More
4 years 9 months ago #81461 by Mazi
Thanks for all your efforts on serving our users' wishes, Tom.

Just to be sure I get this right: There is a new setting at the advanced question settings which defaults to the new behavior, so all newly created questions use the new behavior.
If I update from an older version though, this setting doesn't use the default behavior but is changed for the according updated questions so they use the original, old behavior. Is that correct?

Can you add a note at the manual and post the link here, Tom?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 9 months ago #81493 by TMSWhite

Mazi wrote: Just to be sure I get this right: There is a new setting at the advanced question settings which defaults to the new behavior, so all newly created questions use the new behavior.
If I update from an older version though, this setting doesn't use the default behavior but is changed for the according updated questions so they use the original, old behavior. Is that correct?


Correct. Existing surveys will not have this attribute at all. When the attribute is missing, the old behavior is used (preventing users from skipping questions that have min_num_value or equals_num_value). If the author edits the question, that attribute is created, and defaults to the new behavior. So, authors editing such questions should pay attention to whether they want the old or new behavior.

I have updated the documentation .

Please Log in to join the conversation.

More
4 years 9 months ago #81527 by Mazi
Thanks for updating the docs!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 4 months ago #88277 by jelo
Can somebody confirm that value range allows missing is not working with mandatory questions.

On 1.92 and 2.0 the mandatory option is displaying the empty cells red even when Value range allows missing is set to yes.

docs.limesurvey.org/Advanced+question+se...range_allows_missing

Please Log in to join the conversation.

More
4 years 4 months ago #88287 by DenisChenu

jelo wrote: Can somebody confirm that value range allows missing is not working with mandatory questions.

On 1.92 and 2.0 the mandatory option is displaying the empty cells red even when Value range allows missing is set to yes.

docs.limesurvey.org/Advanced+question+se...range_allows_missing

A mandatory question is mandatory, then you have to answer each subquestion.

mandatory => all question have to be answered
missing => question can not be answered.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.