webERP Forum

Full Version: [Solved] Company preferences -> Name: No dots?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm configuring webERP for a customers whose company name contains a dot because of it's legal form "Inc.". However, I'm not allowed to include the dot since this is not "alpha numeric".

Certainly not too important, but is there a way to include the "." in "Inc."?
I may well have been a bit too overzealous with the characters allowed in the pattern - you would need to alter the script CompanyPreferences.php

line 174 -the pattern to something like:
Code:
pattern="[a-zA-Z0-9_\&\-\s\.]*"
Thanks Phil!
Reference URL's