Forum Discussion
DeveloperIgniti
9 months agoCommunity Member
Buttons to insert value in numerical input field cause console error... Uncaught TypeError: r.value is not a function
Hi,
I am experiencing a problem with the below attached course.
The course contains a numerical input question.
The value in the input field can be entered either manually, or by clicking one ...
SteveGannon
9 months agoCommunity Member
Attached is a bit of a hack (which, I agree, shouldn't be necessary). When a button is clicked, a layer is activated. The layer runs a line of JavaScript 1/10th of a second after the layer starts and then the layer is hidden. The JavaScript gives focus to the numeric entry field. So, even though the user didn't manually click in the entry box, Storyline thinks the box has been interacted with.
This is just a quick test but it appears to work on my end.