View Single Post
  #2  
Old 08-28-2018, 11:42 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: make the ampersand an invalid character company name field

Quote:
Originally Posted by keystone
I was wondering how I make the ampersand symbol (&) an invalid character for the customer company name field. I'm having an issue where my printer will not print an order if there is an & in the company name field. It is really bizarre. So unless I go really slow printing orders from my email program to make sure each one actually prints, I miss orders because they don't go to the printer.

I can't find a fix with the printer so I figured making the & invalid might be the easiest fix for now.

Thanks.

You could just strip it from display on the printable invoice page. Shouldn't be too hard to do. Probably even a smarty strip tag would work.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote