Entering numbers from right to left

Re: Entering numbers from right to left

by Marc Bernat Martínez -
Number of replies: 2

Hello Dominique,

I was testing your input box and by the moment I could not fix your bug. However I've improved functionality, cause If you want delete some characters from input, you cannot use the Backspace.

For more information, please check my code (https://jsfiddle.net/8hrngu0v/6/)



Average of ratings: Useful (2)
In reply to Marc Bernat Martínez

Re: Entering numbers from right to left

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Marc Bernat,

Many thanks for the excellent improvement of the JavaScript code: the backspace character and also the pure JavaScript code which allows a much faster typing than with my version.

Multiple parts are now handled correctly by addressing specific parts individually or with a loop, and everything seems to work fine. See Input box on MoodleFormulas.org.

Average of ratings: Useful (1)
In reply to Dominique Bauer

Re: Entering numbers from right to left

by Marc Bernat Martínez -

Hello Dominique,

Now its seems to be allright! 

Thank you very much for your work.