Class upContainer
Defined in: <container_base.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
upContainer(p_oSettings)
|
Method Attributes | Method Name and Description |
---|---|
Encode a set of form elements as an array of names and values.
|
|
validatePattern(p_strMessage)
Validates input controls.
|
|
validateRequired(p_strMessage)
Validates input controls.
|
|
validateValue(p_strMessage)
Validates a input controls.
|
Method Detail
{Array}
serializeArray()
Encode a set of form elements as an array of names and values.
- Returns:
- {Array}
{boolean}
validatePattern(p_strMessage)
Validates input controls. Are all fields with given patterns filled in correctly?
If not, return a list of fields an set focus on first wrong filled field.
- Parameters:
- {string} p_strMessage
- User defined error message.
- Returns:
- {boolean} true or false
{boolean}
validateRequired(p_strMessage)
Validates input controls. Have all required fields been filled in?
If not, return a list of unfilled fields an set focus on first not filled field.
- Parameters:
- {string} p_strMessage
- User defined error message.
- Returns:
- {boolean} true or false
{boolean}
validateValue(p_strMessage)
Validates a input controls. Are all fields with given range of values filled in correctly?
If not, return a list of fields an set focus on first wrong filled field.
- Parameters:
- {string} p_strMessage
- User defined error message.
- Returns:
- {boolean} true or false