0 レビュー
0 回答
php-フォームと検証/CSSの問題
ここにフォームがあります:
http://f14.co/auto-search/Test/
コードの途中にフォーム要素があることがわかります:
</div>
<form method="post" class="form-horizontal" id="final_form" action="send_mail.php">
<input type="hidden" name="template" id="template" value="Buyers" />
<div class="modal-body" >
<div id="lead_info_1">
<div class="input select">
<div class=""></div>
<div class="span-4 step-2-dropdown append-bottom control-group">
<select class="span3 required" name="minPrice" id="minPrice">
約1/4のところに、send_mail.phpを操作するためにフォーム内にある必要があるチェックボックスがあります:
<div class="sold"></div>
<div class="form">
<h2>Search for your dream home<br />
and save now!</h2>
<legend>Which Areas are you interested in?</legend>
<div class="areas row-fluid" style="text-align:left !important;">
<div class='span5' style='margin-left:0px !important;'>
<label>
<input type="checkbox" name="arrayValue[]" id="area[0]" value="test" style='margin-top:-5px !important;'> test</label>
</div>
</div>
<input type="button" onclick="jQuery('#myModal').modal('show')" value="CONTINUE" />
ただし、フォーム要素をチェックボックスの上に移動すると、エラーチェック(値が入力されていない場合はフォームが赤に変わります)が消えます。
エラーチェックを維持する方法を知っている人はいますか?私は自分が間違っていることを一生理解することができません。これがページコードの問題なのかCSSの問題なのかわからない。
わからない
同様の質問
私たちのウェブサイトで同様の質問で答えを見つけてください。