Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
N
 neq, Jel. Validator
 neqCi, Jel. Validator
 normalize, Jel. String
 now, Jel.Date
 numericEq, Jel. Validator
 numericGe, Jel. Validator
 numericGt, Jel. Validator
 numericLe, Jel. Validator
 numericLt, Jel. Validator
 numericNegative, Jel. Validator
 numericNeq, Jel. Validator
 numericPositive, Jel. Validator
 numericRange, Jel. Validator
 numericType, Jel. Validator
O
 ordinalSuffix
P
 parse, Jel.Date
 plural, Jel. String
 Properties
R
 range, Jel. Validator
 rangeCi, Jel. Validator
 registerErrorMessage, Jel. FormValidator
 releaseCulprit, Jel. FormValidator
 releaseCulprits, Jel. FormValidator
 releaseInline, Jel. FormValidator
 removeExtension, Jel. String
 removeFields, Jel. FormValidator
 repeat, Jel. String
 required, Jel. Validator
 right, Jel. String
 rtrim, Jel. String
S
 set, Jel. ObjectPath
 setValue, Form. Element
 showResults, Jel. FormValidator
 showResultsAlert, Jel. FormValidator
 showResultsList, Jel. FormValidator
 startsWith, Jel. String
 submit, Jel. FormValidator
 swapClassName, Element
T
 titleCase, Jel. String
 toFloat, Jel. String
 toInt, Jel. String
 trim, Jel. String
 twelveHour, Jel.Date
 type-checking, Jel. Validator
U
 update, Jel. ElementCache
V
 validate, Jel. FormValidator
 validateField, Jel. FormValidator
 validDayMonthYear, Jel.Date
 Value-based, Jel. Validator
neq: function(value,
info)
checks if a string value is not equal to another, assuming a specific type (and format if the type is a date)
neqCi: function(value,
info)
checks if a string value is not equal to another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string
normalize: function(str)
converts a string of words which are camel-cased, dash-delimited, underscore delimted, or a combination into a string of dash-delimited words
Jel.Date.now = function(format)
gets a Date object representing the current date, with an optional format string.
numericEq: function(value,
info)
checks if a string value is equal to another, comparing both as numeric (float or integer)
numericGe: function(value,
info)
checks if a string value is greater than or equal to another, comparing both as numeric (float or integer)
numericGt: function(value,
info)
checks if a string value is greater than another, comparing both as numeric (float or integer)
numericLe: function(value,
info)
checks if a string value is less than or equal to another, comparing both as numeric (float or integer)
numericLt: function(value,
info)
checks if a string value is less than another, comparing both as numeric (float or integer)
numericNegative: function(value)
checks if a string value represents a negative float or integer
numericNeq: function(value,
info)
checks if a string value is not equal to another, comparing both as numeric (float or integer)
numericPositive: function(value)
checks if a string value represents a positive float or integer
numericRange: function(value,
info)
checks if a string value falls within a given range, comparing as numeric (float or integer)
numericType: function(value)
checks if a string value represents a positive or negative float or integer
Jel.Date.ordinalSuffix = function(day)
gets the English ordinal suffix for a given day (st, nd, rd, th)
ordinalSuffix: function(number)
gets the English ordinal suffix for a given number (st, nd, rd, th)
Jel.Date.parse = function(str,
format)
parses a date string into a JavaScript Date object assuming a specified date format.
Jel.String.plural = function(str,
count)
returns the plural of a given string, based on a given count.
range: function(value,
info)
checks if a string value falls within a given range, assuming a specific type (and format if the type is a date)
rangeCi: function(value,
info)
checks if a string value falls within a given range, assuming a specific type (and format if the type is a date), and is case insensitive if type is string
registerErrorMessage: function(fieldId,
className,
errorMessage,
errorInlineMessage)
Registers a custom error message and custom inline error message for a given fieldId, and className (validation class).
releaseCulprit: function(field)
displays a given field as being valid, that is, NOT a validation culprit.
releaseCulprits: function()
Shows all of the form fields as non-culprit.
releaseInline: function(inline)
hides an inline element for a field that is likely no longer a validation culprit.
removeExtension: function(str)
remove the file extension from a given string
removeFields: function()
Removes the specified fields from the form validator.
repeat: function(str,
count)
gets the repeat of a string for a specified count
required: function(value)
checks if a string value is not an empty string
right: function(str,
length)
gets the specified number of characters from the end of a given string
rtrim: function(str)
removes whitespace characters from the end of a given string
set: function(value)
sets the value of the object described by this ObjectPath
Form.Element.setValue = function(element,
value)
Sets the value of a form element to a given value, regardless of the type of control it is
showResults: function(results)
Displays the results of the validation, based on options specified in the constructor method.
showResultsAlert: function(results)
The method called to display the validation results as a JavaScript alert, if the options specify this (see constructor for more).
showResultsList: function(results,
container)
The method called to display the validation results inside a DOM container (controlled via the resultsContainer option in constructor).
startsWith: function(str,
strCompare,
ignoreCase)
checks if a given string begins with another string, with the optional case-insensitive comparison
submit: function()
Attempts to submit the form associated with this validator, by running all validation, and submitting if successful.
Element.swapClassName = function(element,
className1,
className2)
Swaps a given class name on an element to a different class name, with a check to work out which class name an element currenly has first.
titleCase: function(str)
converts a string of words into the equivalent title cased word
toFloat: function(str)
gets the float value of a given string in manner safe for arithmetic expressions
toInt: function(str)
gets the integer value of a given string in a manner that is safe for arithmetic expressions
trim: function(str)
removes whitespace characters from the beginning and end of a given string
Jel.Date.twelveHour = function(hour)
gets the twelve hour value for the given hour
update: function()
updates all selectors with their current values
validate: function()
Validates the form associated with this validator, and sets up validation results.
validateField: function(field)
Validates a single given field in the form associated with this validator, and sets up the results for just this field.
Jel.Date.validDayMonthYear = function(day,
month,
year)
checks if a given day, month, and year combination is a valid date in the Gregorian calendar