Name | HTML attribute | Type | Description |
---|---|---|---|
message | data-fv-uuid___message | String | The error message |
version | data-fv-uuid___version | String | The UUID version. Can be 3 , 4 , 5 or all (the default version) |
// You might need to change the importing pathimport uuid from 'formvalidation/dist/es6/validators/uuid';const result = uuid().validate({value: ...,options: {message: ...,},});/*result is an object of{valid: true or false,message: The error message}*/
version
option isn't passed to the placeholder message