私はtwitterブートストラップとjquery検証プラグインを使用しています
次のようなフォーム行があります。
<div class="form_row" >
<div class="control-group">
<label class="control-label" for="input01">home phone</label>
<div class="controls">
<input type="number" class="span4" class="input-xlarge" id="home_phone" name="home_phone" value="<?php echo $this->property->home_phone ?>" rel="popover" data-content="Re-enter your home phone." data-original-title="homephone" >
<input type="number" class="span4" class="input-xlarge" id="cell_phone" name="cell_phone" value="<?php echo $this->property->cell_phone ?>" rel="popover" data-content="Re-enter your cell_phone." data-original-title="cell_phone" >
</div>
検証後、firebugでそれを見ると、エラーのある入力の後にspan.errorが続きます。子がspan.errorではないクラスcontrol-groupを選択したいと思います。助けていただければ幸いです。
ありがとう、ビル