new IsValidField()
Members
-
parameters :Object
-
Node parameters.
Type:
- Object
Properties:
Name Type Description parameters
Properties
Name Type Description fieldName
MemoryField field name to check fieldType
string email, credit card, date, phone number, or a number numberFormat
string any number format such as 0XXX-XXX. every X could be a digit
Methods
-
testCreditCard(tick, value)
-
Parameters:
Name Type Description tick
Tick value
string -
testEmail(tick, value)
-
Parameters:
Name Type Description tick
Tick value
string -
testNumber(tick, value, mask)
-
Parameters:
Name Type Description tick
* value
string mask
string -
testPhoneNumber(tick, value)
-
Parameters:
Name Type Description tick
* value
string -
validators()
-
defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
- Type
- Array.<Validator>