Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

custom error message or verification

I have a numeric question S4 where I want sum of  s4_r2_c1 and S4_r1_c1 to total the response for the numeric question S3_r4_c1...

How can I do this?
asked Apr 24 by anonymous
Is S3 on the same survey page as S4, or on a previous page?
Previous page

1 Answer

0 votes
Try this custom verification for S4:

if (SSI_GetValue('S4_r1_c1') + SSI_GetValue('S4_r2_c1') != [% S3_r4_c1 %]) {
    strErrorMessage = 'Error message.';
}
answered Apr 25 by Zachary Platinum Sawtooth Software, Inc. (120,900 points)
...