Advanced Form

Tags Input

Input Tags

Just add data-role="tagsinput" to your input field to automatically change it to a tags input field.

True multi value

Use a <select multiple /> as your input element for a tags input, to gain true multivalue support. Instead of a comma separated string, the values will be set in an array. Existing <option /> elements will automatically be set as tags. This makes it also possible to create tags containing a comma.

Switchery

Basic

Add an attribute data-plugin="switchery" data-color="@colors" to your input element and it will be converted into switch.

Sizes & Secondary color

Add an attribute data-size="small",data-size="large" to your input element and it will be converted into switch. Add an attribute data-color="@color" data-secondary-color="@color" to your input element and it will be converted into switch.

Bootstrap TouchSpin

You can limit the number of elements you are allowed to select via the data-max-option attribute. It also works for option groups.

Using data attributes

Example with postfix (large)

With prefix

Init with empty value:

Value attribute is not set (applying settings.initval)

Value is set explicitly to 33 (skipping settings.initval)

Timepicker

Easily select a time for a text input using your mouse or keyboards arrow keys.

Colorpicker

Add color picker to field or to any other element.

Date Picker

The datepicker is tied to a standard form input field. Click on the input to open an interactive calendar in a small overlay. Click elsewhere on the page or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

Select2

Single Select

Select2 can take a regular select box like this...

Multiple Select

Select2 can take a regular select box like this...

Input Masks

99-9999999
(999) 999-9999
$ 999,999,999.99
dd/mm/yyyy
dd-mm-yyyy
2015 - 2018 © Velonic - Coderthemes.com