Extends
- FieldTest
Methods
test(field_data, test_params) → {boolean}
Parameters:
| Name | Type | Description |
|---|---|---|
field_data |
object | |
test_params |
object |
- Source:
Returns:
- true if the test passes
- Type
- boolean
Typically, a form will request an email. This class can check that the email matches syntax. It is possible that it can do a lengthier test to find if it actually exists. Often, email is used as identity, but not all applications use email. Some don't require email for idenity.
| Name | Type | Description |
|---|---|---|
field_data |
object | |
test_params |
object |