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
A
 addCulprit, Jel. FormValidator
 addFields, Jel. FormValidator
 an, Jel. String
C
 camelize, Jel. String
 checkField, Jel. FormValidator
 classedCulprit, Jel. FormValidator
 constant, Jel. String
 constructor
 convert, Jel.Date
D
 dateEq, Jel. Validator
 dateFuture, Jel. Validator
 dateGe, Jel. Validator
 dateGt, Jel. Validator
 dateLe, Jel. Validator
 dateLt, Jel. Validator
 dateNeq, Jel. Validator
 datePast, Jel. Validator
 dateRange, Jel. Validator
 dateType, Jel. Validator
 dayOfYear, Jel.Date
 DAYS, Jel. Lang.Date
 DAYS_SHORT, Jel. Lang.Date
 daysInMonth, Jel.Date
 decamelize, Jel. String
 disableFieldByName, Jel. FormValidator
 disableFields, Jel. FormValidator
 displayCulprit, Jel. FormValidator
 displayCulprits, Jel. FormValidator
 displayInline, Jel. FormValidator
E
 Element
 email, Jel. Validator
 enableFieldByName, Jel. FormValidator
 enableFields, Jel. FormValidator
 endsWith, Jel. String
 English-Specific
 eq
 eqCi, Jel. Validator
 extractInt, Jel. String
F
 fieldLabels, Jel. FormValidator
 findParent, Element
 floatEq, Jel. Validator
 floatGe, Jel. Validator
 floatGt, Jel. Validator
 floatLe, Jel. Validator
 floatLt, Jel. Validator
 floatNegative, Jel. Validator
 floatNeq, Jel. Validator
 floatPositive, Jel. Validator
 floatRange, Jel. Validator
 floatType, Jel. Validator
 form, Jel. FormValidator
 Form. Element
 format
 FORMAT, Jel.Date
 formatDateFormat, Jel. FormValidator
 formatFieldLabel, Jel. FormValidator
 fullYear, Jel.Date
 Functions
addCulprit: function(field,
errorMessage,
errorInlineMessage)
Marks the given field as a culprit field in the validation results.
addFields: function()
Registers the specified fields to be validated by the form validator.
Jel.String.an = function(str)
returns the word “an” or “a” for a given following word
camelize: function(str,
delimiter)
converts a string of dash-delimited words into a camelized version
checkField: function(field,
compareOnly)
Checks if a given field is valid within the form associated with this validator.
classedCulprit: function(field)
checks if a given field is currently classed as a culprit (via CSS)
constant: function(str)
converts a string of words which are camel-cased, dash-delimited, underscore delimted, or a combination into a style approprite for constant values, that is, a string of underscore-delimited uppercase words
constructor: function(allowOverride)
Class constructor, which simply performs extension of the JavaScript built in objects String, Date, and Number.
constructor: function(selectors)
Class Constructor
constructor: function(form,
options)
Class constructor.
constructor: function(path,
baseObj)
Class constructor
constructor: function(elements,
windowName,
options)
The class constructor, where all work for this class is done
Jel.Date.convert = function(str,
fromFormat,
toFormat)
converts a date string from one format to another.
dateEq: function(value,
info)
checks if a string value is equal to another, comparing both as dates
dateFuture: function(value,
info)
checks if a string value when converted to a date is in the future.
dateGe: function(value,
info)
checks if a string value is greater than or equal to another, comparing both as dates
dateGt: function(value,
info)
checks if a string value is greater than another, comparing both as dates
dateLe: function(value,
info)
checks if a string value is less than or equal to another, comparing both as dates
dateLt: function(value,
info)
checks if a string value is less than another, comparing both as dates
dateNeq: function(value,
info)
checks if a string value is not equal to another, comparing both as dates
datePast: function(value,
info)
checks if a string value when converted to a date is in the past.
dateRange: function(value,
info)
checks if a string value falls within a given range, comparing as dates
dateType: function(value,
info)
checks if a string value represents a date in a specified format.
Jel.Date.dayOfYear = function(date)
gets the day of the year for the given date
an array of long day name string constants for the current language build.
an array of short day name string constants for the current language build.
Jel.Date.daysInMonth = function(month,
year)
gets the number of days for a given month and year.
decamelize: function(str,
delimiter)
breaks a given string up into a string of lowercase delimited words, where an uppercase letter in a given string denotes a new word (camel case)
disableFieldByName: function(name)
Prevents the fields with the specified name from being regarded in form validation.
disableFields: function()
Prevents the specified fields from being regarded in form validation.
displayCulprit: function(field,
isInline)
displays a given field as a validation culprit.
displayCulprits: function()
Displays all of the current culprit fields for the latest validation.
displayInline: function(inline,
message)
displays an inline element for a validation culprit.
Extensions to Prototype’s Element class
email: function(value)
checks if a string value represents a valid email address
enableFieldByName: function(name)
Causes fields with the specified name to be regarded in form validation once again.
enableFields: function()
Causes the specified fields to be regarded in form validation once again.
endsWith: function(str,
strCompare,
ignoreCase)
checks if a given string ends with another string, with the option of a case-insensitive comparison
equals: function(str,
strCompare,
ignoreCase)
checks if a given string is equal to another string, with the optional case-insensitive comparison
eq: function(value,
info)
checks if a string value is equal to another, assuming a specific type (and format if the type is a date)
eqCi: function(value,
info)
checks if a string value is equal to another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string
extractInt: function(str)
extracts the digits in a given string, returning the integer value of them joined together in sequence
A hash of field labels (the text, not the label elements themselves) indexed by the ID of the related control.
Element.findParent = function(element,
selector)
Attempts to finds a parent for a given element that matches a partial selector string.
floatEq: function(value,
info)
checks if a string value is equal to another, comparing both as floats
floatGe: function(value,
info)
checks if a string value is greater than or equal to another, comparing both as floats
floatGt: function(value,
info)
checks if a string value is greater than another, comparing both as floats
floatLe: function(value,
info)
checks if a string value is less than or equal to another, comparing both as floats
floatLt: function(value,
info)
checks if a string value is less than another, comparing both as floats
floatNegative: function(value)
checks if a string value represents a negative float
floatNeq: function(value,
info)
checks if a string value is not equal to another, comparing both as floats
floatPositive: function(value)
checks if a string value represents a positive float
floatRange: function(value,
info)
checks if a string value falls within a given range, comparing as floats
floatType: function(value)
checks if a string value represents a positive or negative float
The HTML form associated with this validator.
Extensions to Prototype’s Form.Element class
Jel.Date.format = function(date,
format)
formats the given date as a string using the date format in format.
format: function(number,
format)
formats a given number in a specified display format
a hash collection of common formatting string constants to be used with Jel.Date.format and Jel.Date.parse
formatDateFormat: function(format)
The default method for formatting date format strings when displaying them in validation error messages or inline error messages.
formatFieldLabel: function(text,
field)
The default method for formatting a field label when displaying them in validation error messages or inline error messages.
Jel.Date.fullYear = function(date)
gets the full 4-digit year for this Date object