Skip to content

Instantly share code, notes, and snippets.

View pavelplzak's full-sized avatar

Pavel Plzák pavelplzak

View GitHub Profile
/**
* Live Form Validation for Nette 2.0
*
* @author Radek Ježdík, MartyIX, David Grudl
*/
var LiveForm = {
options: {
controlErrorClass: 'form-control-error', // CSS class for an invalid control
errorMessageClass: 'form-error-message', // CSS class for an error message