|
Previous Page |
Solar_Form |
Next Page |
addInvalid()
public
void
addInvalid (
string $name,
string|array $spec,
string $array default NULL
)
Adds one or more invalid message to an element, sets the element status to false (invalid), and sets the form status to false (invalid).
Parameters
- (string)
$name: The element name. - (string|array)
$spec: The invalidation message(s). - (string)
$array: Rename each element as a key in this array.
Returns
- (void)
Description
Adds one or more invalid message to an element, sets the element status to false (invalid), and sets the form status to false (invalid).
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _populate()
- _prepareName()
- _values()
- addFilter()
- addFilters()
- addInvalid()
- addInvalids()
- apiVersion()
- dump()
- getStatus()
- getValue()
- getValues()
- load()
- locale()
- orderElements()
- populate()
- reset()
- setAttribs()
- setElement()
- setElements()
- setFilterLocaleObject()
- setStatus()
- setType()
- setValue()
- setValues()
- validate()