Namespace: formHelper

formHelper

Classes

FormHelperRequest
FormHelperRequestController

Namespaces

always
Classes
ErrorCodes

Methods

(static) addRule(formRule)

API method for registering a FormRule. The associated form element not need to exist in the DOM at this point
Parameters:
Name Type Description
formRule FormRule FormRule object
Source:

(inner) onFormSubmit(event)

Fires when ANY form submits. Checks to see if the submitting form matches any given FormRule selectors. If a match is found, preventDefault and instantiate a new formHelper.FormHelperRequest
Parameters:
Name Type Description
event Event submit event
Source: