Forum Discussion
MichaelChris431
7 years agoCommunity Member
Numeric variables: Default of "zero" isn't treated as a number?
In SL3 I have a numeric entry box, assigned to the variable "NumericEntry". In "Manage Project Variables", the default value for NumericEntry is listed as zero. I want to prevent users from advanc...
MariaCS
4 years agoStaff
Hi, Wendy.
Will changing to a text box solve the issue where '0' is the answer? We need to be able to use the '0' as the actual answer.
Yes, a text variable will accept 0 as the answer (correct or incorrect), so that's a good workaround for that.
Is there a tutorial or something that would help me with the scripting required to make something like that happen?
We don't offer support in Javascript, but I'm hoping others in the community will be able to provide you with guidance!
Related Content
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago