MikeVM Posted August 22, 2012 Share Posted August 22, 2012 Hi All, for some time I used rule which apply different font for numbers and letters for entering address (http://forums.printable.com/showthread.php?t=26&highlight=change+font) Today I have a problem. If my address: 123 East 50St. - I got everything correct If my address: 123 50St. East - I got 12350St. East - for some reason space between numbers disappears. I tried several different fonts for numbers and letters (thought that could be my font problem) - all the same - space between numbers missing. Any help? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 22, 2012 Share Posted August 22, 2012 Modify line 30 of the rule like so: formatField = formatField.replace(/([\d\s]+)/g,"<f name=\""+fontNumber+"\">$1<f name=\""+fontLetter+"\">"); Quote Link to comment Share on other sites More sharing options...
MikeVM Posted August 22, 2012 Author Share Posted August 22, 2012 Wow. Thankks a lot!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.