Character count - Java Script
Hello everyone, I'm writing a course/slide that requires the user to write a short response. For SCORM 1.2 and Moodle LMS reasons we're capped at 256 characters. SL's meets our needs by capping their responses. However, I thought it would be a nice touch to add a character/keystroke counter to let the users know when they were getting closer to their limit.
sort of like this:
I know that variables exist (my experiment is attached), it works but its messy and error prone.
I think it's possible to make a cleaner more professional version using Java Scripting, I'm just not versed egnough to make it work. Here's an example of the code that should work??
http://www.astral-consultancy.co.uk/cgi-bin/hunbug/doco.cgi?11290
Can this be done in Storyline?
Am I barking up the wrong tree with JS?