I have an LS study which has been in use for years - still runs ok, but after upgrade to 9.17.2.3 I am getting an error when I try to print to PDF
It is objecting to JavaScript and Perl in some question footers.
It identifies 3 questions:
Q=student, -footer- 'rnd' is not a valid identifier
Maxdiff Q cctrain2, -footer- 'cctrain1_1_b' is not a valid identifier
Maxdiff Q gpttrain2, -footer- 'gpttrain1_1_b' is not a valid identifier
The code used in each footer is listed below
The questions 'work' fine when I test the survey.
thanks
Dan
Q=student, footer:
[% SetValue(rnd,RandNum(999,0,100)) %]
[% Begin Unverified Perl
my $a=0;
if(VALUE("rnd")>90)
{
$a=1;
}
SETVALUE("chatbws",$a);
End Unverified %]
Maxdiff Q= cctrain2, footer:
<img src="[%GraphicsPath()%]leastdeter.jpg" alt="" border="0">
<script>
$(document).ready(function(){
SSI_SetSelect('[% QuestionName() %]_b_[% cctrain1_1_b %]', true);
})
</script>
Maxdiff Q= gpttrain2, footer:
<img src="[%GraphicsPath()%]leastdeter.jpg" alt="" border="0">
<script>
$(document).ready(function(){
SSI_SetSelect('[% QuestionName() %]_b_[% gpttrain1_1_b %]', true);
})
</script>