<?PHPrequire_once("HTML/QuickForm.php");$form = new HTML_QuickForm("contact","POST");$form->addElement("header","title","お問い合わせ");$form->addElement("text","last_name","苗字:");$form->addElement("text","first_name","名前:");$sex = array();$sex[] =& $form->createElement("radio","sex",NULL,"男性","male");$sex[] =& $form->createElement("radio","sex",NULL,"女性","female");$form->addGroup($sex, "sex", "性別:");$options = array("minYear"=>1970, "maxYear"=>2000, "fromat"=>"YMD");$form->addElement("date","birthday","誕生日:",$options);$form->addElement("text","mail_address","メールアドレス:");$form->addElement("textarea","body","問い合わせ内容:");$form->addElement("submit","send","送信");//空文字チェック$form->addRule("last_name","苗字の入力よろ","required",NULL,"client");$form->addRule("first_name","名前の入力よろ","required",NULL,"client");//$form->addRule(array("text1","text2","text1とtext2が一致しません","compare",NULL,"client");$form->addRule("mail_address","メールの入力よろ","required",NULL,"client");$form->addRule("body","問い合わせ内容の入力をしてく
このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー と 利用規約 が適用されます。
1文字以上入力してください
本文は少なくとも1文字以上必要です。
1文字以上入力してください。