Inline Form Validation With jQuery

Post pobrano z: Inline Form Validation With jQuery

Position Absolute is sharing an easy to use form validation engine built with jQuery.

It offers a flexible way of displaying errors that will possibly match any type of form design. When the script detects an error, it creates a div, positions it at the right-top corner of the input & displays it like a tooltip with the error message inside.

jQuery Form Validation

Validation rules are created inside the classes of every input field like:

<input class="validate[required,custom[onlyLetter],length[0,100]]" name="first" type="text" />

It currently support rules like:

  • required
  • length
  • telephone
  • email
  • onlyNumber
  • onlyLetter
  • & more

Also, you can define custom rules via RegEx & error messages can be localised with custom language files.

Special Downloads:
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets

Advertisements:
SSLmatic – Cheap SSL Certificates (from $19.99/year)
Dreamhost $50 Discount Code: WRD
Follow WebResourcesDepot At Twitter And Get More Resources!

Tags:

Related posts

Feature-Rich JavaScript Tree Component: jsTree

Post pobrano z: Feature-Rich JavaScript Tree Component: jsTree

jsTree is a cross-browser, free & flexible JavaScript tree component with various features.

It can create the tree from the following data sources:

  • predefined HTML
  • JSON
  • XML

Different types of nodes (open, close, rename, create, delete) can be created & supports various callbacks (onchange, oncreate, ondelete, onload, etc …).

JavaScript Tree

A great feature is async loading for creating dynamic trees by simply mentioning an URL for requesting data when needed.

Other features of jsTree:

  • drag & drop of nodes
  • multiple node selection
  • multilingual – same tree in as many languages as you like
  • ability to customize the look & feel
  • animated open/close of nodes
  • optional keyboard navigation
  • ability to move nodes between multiple trees

The component can also work as a jQuery plugin.

Special Downloads:
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets

Advertisements:
SSLmatic – Cheap SSL Certificates (from $19.99/year)
Dreamhost $50 Discount Code: WRD
Follow WebResourcesDepot At Twitter And Get More Resources!

Tags: ,

Related posts