javascript - type=number formatting, jquery validate -
i have gotten requirement customer wants numbers seperated space thousands. ex: 1000000 becomes 1 000 000. my application built .net mvc5 , using jquery validate front end validation. i tried format inputs user types, validation wouldn't work. example interprated "8 000" "8". i tried change type=number inputs type=text, numeric validation jquery validate stopped working, html5 features of input=number min/max validation etc. does have idea on how solve this? can imagine solution hidden fields containing actual data, , other fields displaying formatted data, feel hacky, hard maintain , not reliable.