Help! Numeric entry issue

Oct 03, 2017

I need a little help please.

I have a gamification style course where I simulate our timekeeping software. The user is provided with a scenario, then decides how to log their time. The scenarios have multiple numeric entry boxes that are each linked to a variable (Numeric entry box 1 = NumericEntry1 variable).  The scenarios were functioning fine up until about a week or so ago. I can't pinpoint the exact date of when this started happening.

The numeric entry boxes now show up as blank, instead of the default value of 0. The Javascript that totals up each row displays the total as NaN, since there is not a recognized numeric value for the text entry boxes.

I've attached a shortened version of the course containing the problematic scenarios.

Here's what I've tried so far:

  1. Import existing slides into a new Storyline file
  2. Revert to an older version of the flash player (flash updated in the last couple weeks)
  3. Reinstall Storyline and republish
  4. Remake and simplify the scenarios
  5. Change triggers to set the variables to 1, then to 0 (this seemed to work at first but didn't work in the full course)
  6. Implement Javascript that replaces "NaN" with "0"

None of these solutions worked in the full course. I've submitted a ticket to Articulate. They've escalated the issue thinking it's a bug. Any suggestions for workarounds?

View course

11 Replies
Bobby Blake

Ashley,

I'm currently working with a customer support engineer to find a solution for this bug.

However, the support engineer won't give me a time frame for a solution. The best I've gotten so far is "In some cases, it may take sometime and in some, it may not."

I can't tell my client it may or may not take some time to find a fix.

I need some sort of timeline to provide to my client to resolve this issue.

Can you help or point me to someone who can assist with this?

Crystal Horn

Hi Bobby, and thanks for checking in.  I had a look at your case, and wanted to share the following in case anyone else popped into this discussion:

While our team is working on collecting information from other users, we also ran some testings on different versions of Storyline (1,2,3 and 360) and we got consistent result across the board where we were able to replicate the issue. According to our developers, this is by design and not an actual bug. 

This behavior happens for numeric variables created for numeric text entry boxes. The variable is initialized to be "Not a Number", i.e. NaN, so that no number will show up in the numeric entry field, until the user types one in. Since you're using a variable reference to reflect the content of those numeric variables, the reference will capture 'NaN'. 

To summarize, until there is a number inputted in the numeric entry field that is different from the default value, a reference to the relevant variable will read NaN, and this is by design.

Could you change the default value of the numeric variable to 1, and then trigger it to be 0 when the timeline starts?  

Bobby Blake

The file I submitted has triggers setting the value of each text input field to "0". So, if the triggers are working correctly, the text entry boxes should not be "NaN".

I've also tried setting two variables for each field. The first setting the value to "1". The second setting the value to "0". This worked when I had a low number of text entry fields (around 2-3) but when scaled to 14, I encountered the same NaN issue.

Bobby Blake

Thank you.

That's correct. Setting the default to 1, then adding a trigger to set it back to 0 works.

Just adding two triggers ( set to 1, then set to 0) when the default is 0 does not work.

For my particular interaction, if they backspace the 0 out (leaving the entry box blank) I still get a NaN instead of the total. So, this mostly solved the problem but it's still somewhat of an issue. Even the JavaScript provided by support to change a "NaN" to "0" doesn't work.

This really should be fixed with an update.

This discussion is closed. You can start a new discussion or contact Articulate Support.