Wrong results when entering 0 before some numbers
-
Hi, I have found the following issue when using this plugin on our site:
If you type for instance 020 instead of 20 in the input field, the result will be 16 instead of 20. It happens for some numbers, but not all of them. I have tested and it happened on numbers between 010 – 077.
Im using number fields, but it happens on textfields as well. It can be replicated on your demo page, for example: https://plugin999.com/demo/calculation-for-contact-form-7/
When using number fields, the default value is 0, and if the visitor manually types a number without replacing the value you can get wrong calculations.
The page I need help with: [log in to see the link]
- The topic ‘Wrong results when entering 0 before some numbers’ is closed to new replies.