From: <ice...@us...> - 2013-08-21 15:41:12
|
Revision: 6285 http://sourceforge.net/p/web-erp/reponame/6285 Author: icedlava Date: 2013-08-21 15:41:07 +0000 (Wed, 21 Aug 2013) Log Message: ----------- Allow parentheses in phone numbers eg (08) 1234 1234 Modified Paths: -------------- trunk/Locations.php Modified: trunk/Locations.php =================================================================== --- trunk/Locations.php 2013-08-21 15:17:25 UTC (rev 6284) +++ trunk/Locations.php 2013-08-21 15:41:07 UTC (rev 6285) @@ -577,11 +577,11 @@ </tr> <tr> <td>' . _('Telephone No') . ':' . '</td> - <td><input type="tel" name="Tel" pattern="[0-9\+\s]*" value="' . $_POST['Tel'] . '" size="31" maxlength="30" title="' . _('The phone number should consist of numbers, spaces or the + character') . '" /></td> + <td><input type="tel" name="Tel" pattern="[0-9\+\s\(\)]*" value="' . $_POST['Tel'] . '" size="31" maxlength="30" title="' . _('The phone number should consist of numbers, spaces, parentheses, or the + character') . '" /></td> </tr> <tr> <td>' . _('Facsimile No') . ':' . '</td> - <td><input type="tel" name="Fax" pattern="[0-9\+\s]*" value="' . $_POST['Fax'] . '" size="31" maxlength="30" title="' . _('The fax number should consist of numbers, spaces or the + character') . '"/></td> + <td><input type="tel" name="Fax" pattern="[0-9\+\s\(\)]*" value="' . $_POST['Fax'] . '" size="31" maxlength="30" title="' . _('The fax number should consist of numbers, parentheses, spaces or the + character') . '"/></td> </tr> <tr> <td>' . _('Email') . ':' . '</td> |