We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
任意入力項目に対応できない。必須入力チエックは EXIST_CHECK で行える。
public function MIN_LENGTH_CHECK($value) { $disp_name = $value[0]; $keyname = $value[1]; $min_str_len = $value[2]; if (isset($this->arrErr[$keyname])) { return; } $this->createParam($value); // 文字数の取得 - if (mb_strlen($this->arrParam[$keyname]) < $min_str_len) { + $len = mb_strlen($this->arrParam[$keyname]); + + if ($len == 0) { + return; + } + + if ($len < $min_str_len) { $this->arrErr[$keyname] = sprintf( '※ %sは%d字以上で入力してください。<br />', $disp_name, $min_str_len ); } }
The text was updated successfully, but these errors were encountered:
nanasess
Successfully merging a pull request may close this issue.
任意入力項目に対応できない。必須入力チエックは EXIST_CHECK で行える。
The text was updated successfully, but these errors were encountered: