- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Bootstrap Form Control States
Bootstrap offers to style for disabled inputs and classes for form validation,
Input Focus
When an input receives: focus, the outline of the input is removed and a box-shadow is applied.
Disabled lnputs
If you need to disable an input, simply adding the disabled attribute will not only disable it; it will also change the styling and the mouse cursor when the cursor hovers over the element.
Disabled Fieldsets
Add the disabled attribute to a <fieldset> to disable all the controls within the <fieldset> at once.
Validation States
Bootstrap includes validation styles for errors, warnings, and success messages. To use, simply add the appropriate class to the parent element.
- Related Articles
- Bootstrap .form-control-static class
- Bootstrap Validation States
- Active Nav States in Bootstrap
- Set Bootstrap badges in active states of pill
- Set Bootstrap badges in active states of list navigation
- Bootstrap form structure
- Bootstrap Inline Form
- Bootstrap Horizontal Form
- Bootstrap Form CheckBox
- Bootstrap Form Input
- Bootstrap Form select
- Bootstrap Form Label
- Bootstrap Form TextArea
- Form Layouts in Bootstrap
- Bootstrap Form Radio Button

Advertisements