If someone could assist quickly, that would be greatly appreciated. Thanks.
In V7, I didn't have this problem? When I converted this survey to V8, I received errors like this ...
1. Error: Question 'Q16s' - Skip Logic - The binary operator '=' requires the same type on both the left and right sides. You have a Numeric on the left side and a String on the right.
2. Error: Question 'Q17a1' - Skip Logic - The binary operator '<' requires the same type on both the left and right sides. You have a Numeric on the left side and a String on the right.
The skip logic in all cases is similar and looks like this ...
Not (HdS1_CODE<5)
or
HdS1_CODE=1
Please note that HdS1_CODE is a free format hidden question that returns an integer number.
It looks something like this ...
<input name="HdS1_CODE" type="hidden" value="
[%
Begin Unverified Perl
my $S1_code=0;
if ((VALUE("R2_1")==1)&&(NUMCHECKED("R2")==1))
{
$S1_code=1;
}
elsif ((VALUE("R2_2")==1)&&(NUMCHECKED("R2")==1))
{
$S1_code=2;
}
elsif ((VALUE("R2_3")==1)&&(NUMCHECKED("R2")==1))
{
$S1_code=3;
}
elsif ((VALUE("R2_4")==1)&&(NUMCHECKED("R2")==1))
{
$S1_code=4;
}
else
{
$S1_code=71;
}
return $S1_code;
End Unverified
%]
">
For some unknown reason, the skip logic is confusing the hidden question HdS1_CODE as being of type text?