【发布时间】:2016-08-29 08:34:41
【问题描述】:
请帮帮我:(我知道选择属性应该是
<select required></select>
但是我有一个 css 我该怎么放呢?
<div class="col-md-6">
<div class="form-group">
<label for="sel1">Which division of our company are you interested in *</label>
<select class="form-control" id="sel1">
<option>Please select one</option>
<option>Video game consoles and accessories</option>
<option>Gaming and entertainment gift cards/codes</option>
<option>Both</option>
</select>
</div>
</div>
另外,我怎样才能使单选按钮也需要?对于其他 - 请指定选项。
<div class="col-md-6">
<label for="form_business">Type of business *</label>
<div>
<label class="radio-inline" style="padding-left:30px;">
<input type="radio" name="optradio">Retailer
</label>
<label class="radio-inline">
<input type="radio" name="optradio">Other - Please specify
</label>
<input id="form_other" type="text" name="other" class="form-control" placeholder="Please specify">
</div>
</div>
【问题讨论】:
-
使用
jquery-validation..
标签: forms twitter-bootstrap select radio-button contact