Welcome to the LimeSurvey Community Forum

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

Assessment value with multiple numerical input

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 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.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146946 by tpartner
Replied by tpartner on topic Assessment value with multiple numerical input
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.
  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #146955 by stevelegare
Replied by stevelegare on topic Assessment value with multiple numerical input
Thanks for your quick answer
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose