Welcome to the LimeSurvey Community Forum

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

Assessment value with multiple numerical input

More
8 years 8 months ago #146940 by stevelegare
Hi,
I'm working on a survey with evaluation mode on.

I have a multiple numerical inputs. I have to validate answers via JavaScript (num input 1 must equal 2, num input 2 must equal 6, etc.). My validation script is Ok but I'd like to set 1 to assessment value when my validation is Ok.

How can I set assessment value to 1 by JavaScript or EM?

Thanks for your help.
The topic has been locked.
More
8 years 8 months ago #146946 by tpartner
You cannot modify the assessment value with JavaScript or EM.

With JavaScript you can load hidden short-text questions with a custom "assessment" value. With EM you can load hidden equation questions with a custom "assessment" value.

Either of those can be used via EM to generate a "score" later and display a corresponding message.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 8 months ago #146955 by stevelegare
Thanks for your quick answer
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose