Numeric Entry variables issue

Jan 14, 2021

Hi All

I have created a question slide that uses both numeric entry and text entry. The user clicks the submit button and the correct answers are displayed on the next slide with their answers. Although they are working fine, when I publish to Rise and preview the question, when I enter a number into a numeric entry box, a pop up box appears with a few numbers of previous attempts.  I have set the slide to 'reset to initial state' but this still happens.  This doesn't happen with the text entry boxes. Any ideas?

Here is a screen shot of what happens..

7 Replies
Math Notermans

This is a feature, not a bug :-) Oh my, wanted to say that for quite a while :-)
It is in fact a browser feature. Autocomplete. Remembering your last input and giving you a headsup on that for ease. Offcourse sometimes you donot want that and want it off. In normal HTML autocomplete="off" would work. As we probably cannot do that in Storyline, javascript might do the trick.

Math Notermans

Adding to Phil's comment... you offcourse need to select all ( or any specific ) inputfield first.

https://360.articulate.com/review/content/fb2942eb-9b4f-4d53-a44e-b96e07d70575/review
Here you can see it work...

The complete code to set all inputfields in your slide to 'autocomplete off' is this.
var inputs = document.getElementsByClassName('acc-shadow-el acc-textinput');
for(var i=0; i< inputs.length; i++){
     inputs[i].setAttribute("autocomplete","off");
}

The sample as shown on Review added.