CoreBOSBB
Tax Calculations Number Validation check issue - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Tax Calculations Number Validation check issue (/showthread.php?tid=2161)



Tax Calculations Number Validation check issue - radu - 06-07-2021

Hello,

I noticed that on a fresh install, in Tax Calculations module if any tax is edited the inline validator throws validation errors if you change the value to something else than steps of +/- 1. For example if you want to change the default VAT from 4.5 to 5 you can't, you have to chose a integer added to the existing number - 5.4;3.5;6.5 ... and so on. The arrows also increment the number with +/- 1 so in result you cant save any tax you want. Tested also on the online demo.
Screenshot attached


RE: Tax Calculations Number Validation check issue - joebordes - 06-07-2021

wow! HTML input type number is very restrictive. I thought it was just a helper.

update your code again and give it a try, I think I fixed it

thanks for informing!


RE: Tax Calculations Number Validation check issue - radu - 06-07-2021

It works!

Thanks!