Reformatter
The format expected is ##-#######
on blur any box will reformat that box
Invalid inputs that can not be formatted are blanked


This script will reformat numbers if they dont have enough digits.
If the data entered is incorrect in the pattern, it is blanked (removed).
By clicking focus into a box and then away (blur event) the reformatting logic is triggered.