Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Array Text with one column number only without thousand seperator

  • cindy16
  • cindy16's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #199974 by cindy16
Unfortunately I am not in the position to activate the Survey, but I did share the question in my last post. Could you use that to locate the issue?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199980 by Joffm
Hi,
In your question export you mix up two different scripts.

For the drop-down you use
$('.answer-item.answer_cell_X002',

and for the numeric input
$('.answer-item.column-4 input:text', thisQuestion).on('keyup change', function(e) {

Once you use the code of the column, and once the number of the column, which is not defined in your script

This would have been the part to define the column numbers.
Code:
// Column-specific classes
    $('tr.subquestion-list', thisQuestion).each(function(i) {
      $('th, td', this).each(function(i) {
        $(this).addClass('column-'+i);
      });
    });

So, please use the provided scripts and - in case it fails - send a lss export and not a lsq nor a lsg export.
Both are language sensitive and do not contain some ipmportant settings of the survey.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: tpartner
The topic has been locked.
  • cindy16
  • cindy16's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #200024 by cindy16
I tried the regexMatch solution and it works :) Thank you!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose