Automatic reformatting of currency field

  • 1
  • Question
  • Updated 4 years ago
I'm having a Java script on a skuid page to make a currency field editable, display that it is a required field and then validate it (by using change event). This is causing the following issue.
When I key in costs into currency field, the Java script validation forces a reformat about 1 second from my first keystroke. So, essentially, if i'm trying to type the number $293,576, and pause after '293' for longer than a sec, it locks in, and i have to click into the field to edit the number. 
How can I prevent this from happening?
I'm attaching a screen shot of the Java script that i'm using. 

Photo of Sharon Anoop

Sharon Anoop

  • 232 Points 100 badge 2x thumb

Posted 4 years ago

  • 1

Be the first to post a reply!