Hi all,
I'm using constant sum with "choices" type. I can enforce only min and max value; however, I also would like to enforce only whole number (0 decimal). There is this option in constant sum for both bars and sliders but why not choices? Anyone could help me with JavaScript custom code to enforce integers for all the choices when participants type in their answers? Thank you very much.
Best,
Bell
Solved
Enforce whole number in constant sum
Best answer by rondev
Click "Clear" and then paste the code in onReady function as shown below:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.





