Hi,
Hoping that someone may be able to help me with a basic adjustment to an array question.
Have looked for other similar topics on the forum, like this one:
www.limesurvey.org/forum/design-issues/1...array-text-questions
I am, in essence, trying to adjust the width of the first column. The solution/script (see below) provided in the forum only adjusted the column with the text-based input, while not the Y-scale column that I want to reduce in size. Attaching a screen shot so you understand.
I am using LS 2.73 and the default template at the moment.
Any help would be much appreciated!
Tried using this script:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// Identify this question
var thisQuestion = $('#question{QID}');
// Assign column-specific classes
$('table.subquestion-list tr', thisQuestion).each(function(i) {
$('> *:gt(0)', this).each(function(i){
$(this).addClass('column-'+(i+1));
$(this).attr('data-column', i+1);
});
});
// Resize the inputs
$('.column-1 input[type="text"]', thisQuestion).css('width', 'auto').attr('size', '10');
$('.column-2 input[type="text"]', thisQuestion).css('width', 'auto').attr('size', '5');
});
</script>