Name | HTML attribute | Type | Description |
---|---|---|---|
message | data-fv-mac___message | String | The error message |
// You might need to change the importing pathimport mac from 'formvalidation/dist/es6/validators/mac';const result = mac().validate({value: ...,options: {message: ...,},});/*result is an object of{valid: true or false,message: The error message}*/