[ad_1]
お世話になります。
ラジオボタン選択項目でによる必須項目の切り替えを記載し、問題なく動作しておりますが、管理者以外の画面にWarning:エラーが表示されます。
function add_mwform_validation_rule($Validation, $data) {
if ($data[‘reason’] === ‘その他’) {
$Validation->set_rule(‘other’, ‘noEmpty’, array(‘message’ => ‘「その他」の理由をご入力ください’));
}
return $Validation;
}
add_filter(‘mwform_validation_mw-wp-form-14884’, ‘add_mwform_validation_rule’, 10, 2);`
エラー表示
Warning: Undefined array key “面談日程の決定” in /home/plow/ground-members.com/public_html/wp-content/themes/keni8-child/functions.php on line 613
エラーが表示されないようにするにはどのようにしたら宜しいでしょうか。
宜しくお願いいたします。
The page I need help with: [log in to see the link]
