誰かがこの検証を手伝ってくれますか?
$("#frm").submit(function() {
  $('#mailtoperson').each(function() {
    if ($(this).val() == '') {           
      $('#wizard').smartWizard('showMessage','Please check OK and YES once the email is ready to send');
    }
  });
 if ($('#mailtoperson').size() > 0) {
    $('#wizard').smartWizard('showMessage','Please complete the required field.');
    return false;
  }
})
基本的に#frm、テキストエリア ' ' を持つ#mailtoperson' ' があり、' ' が空白onsubmitかどうかを検証したいのですが、空白の場合は ' ' メッセージが必要で、データがある場合は ' ' メッセージに入力します。#mailtopersonpls completepls check ok
編集:
これは、空白フィールド機能をトリガーするために機能するようです:
$('#frm').submit(function()
{
    if( !$(this).val() ) {
          $('#wizard').smartWizard('showMessage','Please complete');
}
そして、これは単純な送信メッセージで機能します
$('#frm').submit(function() {
$('#wizard').smartWizard('showMessage','Please check OK and YES once the email is ready to send');
})
});
ただし、それらは一緒には機能しません。つまり、空白の場合は入力してください。空白でない場合は「OK にチェックしてください」...