The changes that were made to the publishing engine for Storyline 3 and Storyline 360 impacted some of these customizations with Javascript triggers so that if they worked in SL2, they may no longer work. I also took a look at the Numeric entry and noted that since it's happening for numeric variables created for numeric text entry boxes, this is by design. 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.
Hope that helps clarify, and let us know if you need anything else!
I can't believe this is still a problem. How often do you want a zero in a numerical entry box that a user has to delete in order to type in their number? And to have to keep the name given automatically which is very confusing if you have very many variables. This was a problem 3 years ago and is still a problem. Please make it possible to set a numerical variable to empty like you can a text variable!
However, if you have renamed the numeric variable, the field will incorrectly display a 0 by default. This is a bug our team is looking into – does that description match what you're seeing?
Yes. This has been a complaint for at least three years, though. Since before 360. So I'm just frustrated that they've been "looking into it" for so long and there's no solution. Having to use the default (and non-descriptive) names when you have a ton of variables is unreasonable.
I hear you, Beth. I really appreciate that insight, and I'm sorry this has been such a headache for you! I'll bring this up with our team again, and if I get an update, I'll let you know.
I just added a Numeric Entry to my slide and didn't rename it; I still get a 0 when I preview.
The slide this numeric entry is on is part of a question bank (if that matters). Also, the numeric entry was tweaked so that what a learner types is what's captured when the control loses focus; this, obviously, isn't a default setting.
If I'm understanding this correctly, you have to keep *everything* default if you want to use a numeric entry that doesn't show 0. Is that what you're saying?
Yes, you're right. You'll also want to keep the default numeric entry trigger: Set NumericEntry equal to the typed value when the control loses focus.
Changing the variable in that trigger will cause the 0 to incorrectly appear in the numeric entry field.
As a workaround for now, try adding the trigger below. I made that change in your file and attached it here. Let me know if that workaround would be an option for you!
This is the same issue I'm having -- I need the entry boxes to be blank when they start -- any help.
I also need the entries to be 1 - 4 where is number can only be used once -- basically we're rating the options on the screen between 1 and 4 -- any help would be greatly appreciated.
We have an open issue with Numeric Entries having a default value of 0 when the item is renamed. I see that your variable is renamed, so this looks like what you are running into as well.
I'll add this conversation to the report as we track user impact and so that we can update here when we can.
Thanks for the reply -- I got a work around by using 'text' instead of numeric. Then assigned the text variable to a numeric variable so I could add as needed.
BUT do you have any suggestions on the second part of my question? I also need the entries to be 1 - 4 where is number can only be used once -- basically we're rating the options on the screen between 1 and 4 -- any help would be greatly appreciated. Thanks!
Beth -- I figured it out but it takes a lot of work.
In my case I have 4 choices, so each one had to have the following Tigger
Action: Show Layer Layer: Try Again When: Variable Changes Variable: FLA1 On Condition: FLA == Equal to 1 AND SCWA1 == Equal to 1
I repeated this 4 times, Where the Equal to 1 changes, to 2, 3 and 4.
Then I had to repeat for each of the 4 Input variables on the screen. -- Hope this makes sense. I've attached one page of my course so you could see. There are a lot of triggers on this slide, brief description for each below
Change State: Disable Next button Change State (visited): Normal Next Button (Had to do this two different ways, the second way is for when I revisit the slide I wanted the Next button active (not equal to blank).) Set Variable: Text Variable to a number variable so I could add. Show Layer (Invalid Input): Must be a number between 1 and 4. Show Layer (Try Again): Number 1-4 used more than once
I need to add a reset variable in there somewhere -- now since it only works the first time I enter a number -- back to the drawing board, but this should help you somewhat. (I may have lied, maybe it was confused, but it appears to be working now.) -- :)
There may be an easier way to do all of these, but I'm just starting out....
Yeah, I could figure out how to do it with something similar, but it was going to take like 225 triggers because I have 15 items to rank and that's just ridiculous! I was really hoping there was an easier way.
I wasn't sure if I could add a variable to the drag and drop pieces so report back. We have 6 different 'categories' each category has 10-12 'text items' I need to be able to total each category by the 'number 1-4' that was selected on each of the text items. It's hard to explain. But this works for now ...
I could do a drag and drop, but then I need to assign a number to the order they were ranked in (so the item on the top gets a variable set to 1, the next item gets a variable set to 2, etc.) Any ideas on if that can be done?
Yes, variables can be adjusted with drag-and-drop interactions. I'm attaching a sample file with 4 choices to rank. Because there are 4 possible rankings, I'll have 16 triggers. This means you'll still have your 225 triggers issue to make sure that you can account for all possible rankings of each item. Here's a demo of what I set up.
A quick update to let you know we've released a fix for this issue where Numeric-entry fields displayed default values of zero after renaming their underlying variables. They should remain blank until learners enter values. You'll find that fix available in the latest update Storyline 360, build 3.28.18944.0.
To install the update, launch the Articulate 360 desktop app on your computer and click the Update button for Storyline - you'll find more details here.
Today we released the Update 7 for Storyline 3! (Build 3.7.20003.0) 🎉
Update 7 includes the fix to the issue where numeric-entry fields displayed default values of zero after renaming their underlying variables. In this update, the numeric- entry fields will remain blank until learners enter values!
23 Replies
Hi Smko,
The changes that were made to the publishing engine for Storyline 3 and Storyline 360 impacted some of these customizations with Javascript triggers so that if they worked in SL2, they may no longer work. I also took a look at the Numeric entry and noted that since it's happening for numeric variables created for numeric text entry boxes, this is by design. 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.
Hope that helps clarify, and let us know if you need anything else!
Thank you so much Ashley! for your answer.Due to these changes Is there a way that zero will not be in default on Numeric entry?
Not as a built-in option for Storyline, but there may still be a custom way to change it! I'll leave that to the community of experts!
I can't believe this is still a problem. How often do you want a zero in a numerical entry box that a user has to delete in order to type in their number? And to have to keep the name given automatically which is very confusing if you have very many variables. This was a problem 3 years ago and is still a problem. Please make it possible to set a numerical variable to empty like you can a text variable!
Hi Beth!
The numeric entry field should display as a blank field, as shown in this example Storyline 3 output.
However, if you have renamed the numeric variable, the field will incorrectly display a 0 by default. This is a bug our team is looking into – does that description match what you're seeing?
Yes. This has been a complaint for at least three years, though. Since before 360. So I'm just frustrated that they've been "looking into it" for so long and there's no solution. Having to use the default (and non-descriptive) names when you have a ton of variables is unreasonable.
I hear you, Beth. I really appreciate that insight, and I'm sorry this has been such a headache for you! I'll bring this up with our team again, and if I get an update, I'll let you know.
Thanks!
I just added a Numeric Entry to my slide and didn't rename it; I still get a 0 when I preview.
The slide this numeric entry is on is part of a question bank (if that matters). Also, the numeric entry was tweaked so that what a learner types is what's captured when the control loses focus; this, obviously, isn't a default setting.
If I'm understanding this correctly, you have to keep *everything* default if you want to use a numeric entry that doesn't show 0. Is that what you're saying?
Hi Heather,
Yes, you're right. You'll also want to keep the default numeric entry trigger: Set NumericEntry equal to the typed value when the control loses focus.
Changing the variable in that trigger will cause the 0 to incorrectly appear in the numeric entry field.
As a workaround for now, try adding the trigger below. I made that change in your file and attached it here. Let me know if that workaround would be an option for you!
This is the same issue I'm having -- I need the entry boxes to be blank when they start -- any help.
I also need the entries to be 1 - 4 where is number can only be used once -- basically we're rating the options on the screen between 1 and 4 -- any help would be greatly appreciated.
Hi Tracy,
We have an open issue with Numeric Entries having a default value of 0 when the item is renamed. I see that your variable is renamed, so this looks like what you are running into as well.
I'll add this conversation to the report as we track user impact and so that we can update here when we can.
Thanks for the reply -- I got a work around by using 'text' instead of numeric. Then assigned the text variable to a numeric variable so I could add as needed.
BUT do you have any suggestions on the second part of my question? I also need the entries to be 1 - 4 where is number can only be used once -- basically we're rating the options on the screen between 1 and 4 -- any help would be greatly appreciated. Thanks!
I need to do the same thing! Would love to see how it can be done.
Beth -- I figured it out but it takes a lot of work.
In my case I have 4 choices, so each one had to have the following Tigger
Action: Show Layer
Layer: Try Again
When: Variable Changes
Variable: FLA1
On Condition:
FLA == Equal to 1
AND SCWA1 == Equal to 1
I repeated this 4 times, Where the Equal to 1 changes, to 2, 3 and 4.
Then I had to repeat for each of the 4 Input variables on the screen. -- Hope this makes sense. I've attached one page of my course so you could see.
There are a lot of triggers on this slide, brief description for each below
Change State: Disable Next button
Change State (visited): Normal Next Button (Had to do this two different ways, the second way is for when I revisit the slide I wanted the Next button active (not equal to blank).)
Set Variable: Text Variable to a number variable so I could add.
Show Layer (Invalid Input): Must be a number between 1 and 4.
Show Layer (Try Again): Number 1-4 used more than once
I need to add a reset variable in there somewhere -- now since it only works the first time I enter a number -- back to the drawing board, but this should help you somewhat. (I may have lied, maybe it was confused, but it appears to be working now.) -- :)
There may be an easier way to do all of these, but I'm just starting out....
Yeah, I could figure out how to do it with something similar, but it was going to take like 225 triggers because I have 15 items to rank and that's just ridiculous! I was really hoping there was an easier way.
Hi Beth. There won't be an easier way to limit what text can be entered into those entry fields. Thank you, Tracy, for sharing your work anyway!
I'm not sure about your specific design, but drag-and-drop interactions work really well for ranking, too.
I wasn't sure if I could add a variable to the drag and drop pieces so report back. We have 6 different 'categories' each category has 10-12 'text items' I need to be able to total each category by the 'number 1-4' that was selected on each of the text items. It's hard to explain. But this works for now ...
I could do a drag and drop, but then I need to assign a number to the order they were ranked in (so the item on the top gets a variable set to 1, the next item gets a variable set to 2, etc.) Any ideas on if that can be done?
Yes, variables can be adjusted with drag-and-drop interactions. I'm attaching a sample file with 4 choices to rank. Because there are 4 possible rankings, I'll have 16 triggers. This means you'll still have your 225 triggers issue to make sure that you can account for all possible rankings of each item. Here's a demo of what I set up.
Thank you! I'm sorry there's not an easier way, but at least it can be done.
Hi All,
A quick update to let you know we've released a fix for this issue where Numeric-entry fields displayed default values of zero after renaming their underlying variables. They should remain blank until learners enter values. You'll find that fix available in the latest update Storyline 360, build 3.28.18944.0.
To install the update, launch the Articulate 360 desktop app on your computer and click the Update button for Storyline - you'll find more details here.
Please let us know if you have any questions, either here or by reaching out to our Support Engineers directly.
Hi everyone!
Today we released the Update 7 for Storyline 3! (Build 3.7.20003.0) 🎉
This discussion is closed. You can start a new discussion or contact Articulate Support.