|UPDATE| |SOLVED| Code to multiply numbers and post results in the text fields

You could ‘correct’ the text using the replace() method with regex. For more information, search on JavaScript code to remove non-numeric characters from a string. You’ll find some examples. Remember to consider decimal points.