88
rated 0 times
[
95]
[
7]
/ answers: 1 / hits: 22248
/ 12 Years ago, mon, august 13, 2012, 12:00:00
I have an input text field with a maxlength of 10. The field is for Australian phone numbers (10 digits). Phone numbers are generally split up into the following syntax
12 12345678
If someone copies the above and pastes that into my input field, it obviously leaves the last digit out and keeps the space.
Is there a way to remove any spaces right before it is pasted into the input box? Or is there another work around?
Thanks in advance.
More From » html