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
Some applications use form fields that contain a limited number of characters. And, the charcacters should be pure numbers.
| Name | Type | Description |
|---|---|---|
field_data |
object | |
test_params |
object |