Welcome to the LimeSurvey Community Forum

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

Array Dual Scale problem ?

  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 3 weeks ago #133951 by mikezhangsky
Array Dual Scale problem ? was created by mikezhangsky
I test it on two ways
1、survey use token
when i open the survey , the name of subquestion show normal ,like picture2

2、survey without token
when i open the survey , the name of subquestion disappear ?

i use 2.5 stable , and use iphone test . How can i fix it ?
The topic has been locked.
More
8 years 3 weeks ago #133952 by jelo
Replied by jelo on topic Array Dual Scale problem ?
Looks like a bug in LS 2.5. What LS 2.5 build is used?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 3 weeks ago #133954 by mikezhangsky
Replied by mikezhangsky on topic Array Dual Scale problem ?
版本 2.50+ Build 160330

i have add code into qanda_helper.php .. then i will show twice if i do survey using token
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 3 weeks ago #133961 by mikezhangsky
Replied by mikezhangsky on topic Array Dual Scale problem ?
is that a bug ? can anyone tell me where to fix it ?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 3 weeks ago #133968 by tpartner
Replied by tpartner on topic Array Dual Scale problem ?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 3 weeks ago #133970 by mikezhangsky
Replied by mikezhangsky on topic Array Dual Scale problem ?
can you tell me where to fix ? when i refesh the page , it will show the title of subquestions .. i think i will try to fix it .
The topic has been locked.
  • mikezhangsky
  • mikezhangsky's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 3 weeks ago #133971 by mikezhangsky
Replied by mikezhangsky on topic Array Dual Scale problem ?
i fix it : /survey/application/help/qanda_helper.php
the code :(line 6080 and line 6115 )
$answer .= "\t<td data-bs-title='" . $labelans0[$thiskey] . "' class=\"col-sm-4 answer_cell_1_00$ld answer-item {$answertypeclass}-item\">\n"
. "\t<label for=\"answer{$myfid0}-{$ld}\"><input class=\"radio\" type=\"radio\" name=\"$myfname0\" value=\"$ld\" id=\"answer$myfid0-$ld\" ";


may be the data-bs-title is no use for iphone ?

so i change it for this ...
$answer .= "\t<td class=\"col-sm-2 col-md-2 col-lg-1 col-xs-4 answer_cell_1_00$ld answer-item {$answertypeclass}-item\">\n"."\t<label for=\"answer{$myfid0}-{$ld}\"><span class=\"hidden-lg hidden-md hidden-sm\">".$labelans0[$thiskey]."</span><input class=\"radio\" type=\"radio\" name=\"$myfname0\" value=\"$ld\" id=\"answer$myfid0-$ld\"";

delete data-bs-title , and add <span class=\"hidden-lg hidden-md hidden-sm\">".$labelans0[$thiskey]."</span>
it seems work , i will test more times ..
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose