troubleshooting Question

check currency format on keypress event

Avatar of Rajar Ahmed
Rajar AhmedFlag for India asked on
JavaScriptASP.NETJScript
4 Comments1 Solution2641 ViewsLast Modified:
how to create textbox with following rules
   
1. Need to accept  atleast 1 or maximum  8 digits before decimal Like 12345678.00 is allowed and
   123456789.00 9 should not be allowed to enter  in onkeypress event as length exceeds 8 length
2. after decimal only two digits should be allowed
ASKER CERTIFIED SOLUTION
disrupt

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros