Calculation - Live

Hello,

I am scripting a survey in 9.15.4. I have a numeric question that I would like to do a "real time" calculation based on the answer entered and a previous answer. Is this possible?

I tried using the below syntax to display the Total cost across all your soybean acres (calcuation) but I am getting an error message "Undefined subroutine &authlib9_15_4::SSI_GetValue called at (eval 85) line 1, line 22"

[% Begin Unverified Perl

my $x = SSI_GetValue("Q125A");

my $intVar = GETVALUE("QS5_r2_c2");

my $intVar = $intVar * $x;

return $intVar;

End Unverified %]

"

7 replies