- Posts: 14
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
3 years 11 months ago #199974
by cindy16
Replied by cindy16 on topic Array Text with one column number only without thousand seperator
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
3 years 11 months ago #199980
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Array Text with one column number only without thousand seperator
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.
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
3 years 11 months ago #200024
by cindy16
Replied by cindy16 on topic Array Text with one column number only without thousand seperator
I tried the regexMatch solution and it works Thank you!
The topic has been locked.