Hi Creatio Community,
I'm trying to find a better solution for validating CommunicationOptions specifically for phonu numbers. With the code shown below, the validation works, but it's logic is applied for all type of items so email, phone number or Skype. Im trying to find something that could let me differentiate types and implement a logic only for that specific type (in my case phone numbers).
"ContactCommunicationOptionsDS_Number": { "modelConfig": { "path": "ContactCommunicationOptionsDS.Number" }, "validators": { "validateOptions": { "type": "usr.Validator" } }, },
I know that there were some tickets already made in the past with almost no result, so if you need a validation logic and don't mind applying it on all types of communication, feel free to use it.
Best regards,
Tuan Dang.
Like
0 comments