mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 10:26:30 +00:00
Contact phone edit change the type from number to text. We use a regular expression to remove all formatting but its convenient to allow the formatting and then remove it to save in the databaase. In particular its convenient when using copy and paste.
This commit is contained in:
@@ -293,7 +293,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " ".$text['label-phone_number']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='number' name='phone_number' maxlength='255' min='0' step='1' value=\"$phone_number\">\n";
|
||||
echo " <input class='formfld' type='text' name='phone_number' maxlength='255' min='0' step='1' value=\"$phone_number\">\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-phone_number']."\n";
|
||||
echo "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user