webERP Forum
[Solved] Company preferences -> Name: No dots? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: [Solved] Company preferences -> Name: No dots? (/showthread.php?tid=1022)



[Solved] Company preferences -> Name: No dots? - MacPhotoBiker - 09-17-2013 08:47 AM

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."?


RE: Company preferences -> Name: No dots? - phil - 09-17-2013 11:42 AM

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\.]*"



RE: Company preferences -> Name: No dots? - MacPhotoBiker - 09-18-2013 07:07 AM

Thanks Phil!