Basic CSS for input elements in a form.
Based on Bootstrap, there are some special fields with the elcom Platform style.
Add the <input>
inside the class uiSearchInput
.
This search type is a good choice for the simple search function.
Add button
and input
inside the class input-append
.
The inline form is suitable with simple function that is expected to display in one line to save spaces, such as login and newsletter.
This text field has big size that can be used for special purposes, for example sign-in title, wiki title.
With a horizontal form, all form elements are displayed in good order.
The type
is required at all times.
Add the disabled
attribute to disable an input field.
A textarea allows more space for data input. Change the rows
attribute as necessary.
Checkboxes are used for selecting one or several options while radios are for selecting only one option at once.
By using the iphone-style-checkboxes.js
provided by elcom Platform Team, there is a nice switch radio:
The default or multiple="multiple"
options can be selected at once.