@@ -1650,13 +1650,17 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1650,13 +1650,17 @@ For example, <code><section></code> should be wrapped as inlin
</pre>
</pre>
<h3>Disabled fieldsets</h3>
<h3>Disabled fieldsets</h3>
<p>Add the <code>disabled</code> attribute on a <code>fieldset</code> to disable all the controls within the fieldset at once.</p>
<p>Add the <code>disabled</code> attribute to a <code><fieldset></code> to disable all the controls within the <code><fieldset></code> at once. Link buttons (with the <code><a></code> element) will be aesthetically disabled, but you will need custom JavaScript to disable their behavior.</p>
<formclass="bs-docs-example form-inline">
<formclass="bs-docs-example form-inline">
<fieldsetdisabled>
<fieldsetdisabled>
<inputtype="text"class="span4"placeholder="These controls are all disabled just">
<option>by being under a disabled fieldset</option>
<option>Disabled select</option>
</select>
</select>
<div class="checkbox">
<div class="checkbox">
<label>
<label>
...
@@ -1681,11 +1685,6 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1681,11 +1685,6 @@ For example, <code><section></code> should be wrapped as inlin
</fieldset>
</fieldset>
</form>
</form>
</pre>
</pre>
<p>
<spanclass="label label-info">Heads up!</span>
Contrary to the HTML5 spec, form controls within a <code>fieldset</code>'s <code>legend</code> will also be disabled.<br>
Also, <code><a></code> buttons within a <code>fieldset[disabled]</code> will be styled like they each had the <code>.disabled</code> class, but this only affects aesthetics; you must use custom JavaScript to actually make such links non-functional.
</p>
<h3>Validation states</h3>
<h3>Validation states</h3>
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
@@ -1590,13 +1590,17 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1590,13 +1590,17 @@ For example, <code><section></code> should be wrapped as inlin
</pre>
</pre>
<h3>Disabled fieldsets</h3>
<h3>Disabled fieldsets</h3>
<p>Add the <code>disabled</code> attribute on a <code>fieldset</code> to disable all the controls within the fieldset at once.</p>
<p>Add the <code>disabled</code> attribute to a <code><fieldset></code> to disable all the controls within the <code><fieldset></code> at once. Link buttons (with the <code><a></code> element) will be aesthetically disabled, but you will need custom JavaScript to disable their behavior.</p>
<formclass="bs-docs-example form-inline">
<formclass="bs-docs-example form-inline">
<fieldsetdisabled>
<fieldsetdisabled>
<inputtype="text"class="span4"placeholder="These controls are all disabled just">
<option>by being under a disabled fieldset</option>
<option>Disabled select</option>
</select>
</select>
<div class="checkbox">
<div class="checkbox">
<label>
<label>
...
@@ -1621,11 +1625,6 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1621,11 +1625,6 @@ For example, <code><section></code> should be wrapped as inlin
</fieldset>
</fieldset>
</form>
</form>
</pre>
</pre>
<p>
<spanclass="label label-info">Heads up!</span>
Contrary to the HTML5 spec, form controls within a <code>fieldset</code>'s <code>legend</code> will also be disabled.<br>
Also, <code><a></code> buttons within a <code>fieldset[disabled]</code> will be styled like they each had the <code>.disabled</code> class, but this only affects aesthetics; you must use custom JavaScript to actually make such links non-functional.
</p>
<h3>Validation states</h3>
<h3>Validation states</h3>
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>