Index: /branches/version-2_4-dev/data/class/SC_CheckError.php
===================================================================
--- /branches/version-2_4-dev/data/class/SC_CheckError.php (revision 17727)
+++ /branches/version-2_4-dev/data/class/SC_CheckError.php (revision 18466)
@@ -296,4 +296,5 @@
}
+ $total_count = 0;
for($i = 1; $i <= 3; $i++) {
if(strlen($this->arrParam[$value[$i]]) > 0 && strlen($this->arrParam[$value[$i]]) > $value[4]) {
@@ -302,4 +303,10 @@
$this->arrErr[$value[$i]] .= "※ " . $value[0] . $i . "は数字で入力してください。
";
}
+ $total_count += strlen($this->arrParam[$value[$i]]);
+ }
+
+ // 合計値チェック
+ if ($total_count > TEL_LEN) {
+ $this->arrErr[$value[3]] .= "※ " . $value[0] . "は" . TEL_LEN . "文字以内で入力してください。
";
}
}