I have used standard notes fields in a sidebar component and I want to add custom validation rules and custom validation messages to the fields. This is for suite crm 8. What is the best way to do this?
Please check if this helps.
Thanks for the making me understand the example. I tried something similar to your field at my end in 8.8 version. You can change according to 8.7 to see if it helps. Sharing the steps here based on my learning.
Copy config/services/ui/ui.yaml at extensions\defaultExt\config\services\ui\ui.yaml and add a new regex (siren).
validations:
regex:
phone: "^([\\+]?|00)((([(]{0,1}\\s*[0-9]{1,4}\\s*[)]{0,1})\\s*)*|([\\-\\s\\./#x0-9])*)+$"
email: '^(?:[\.\-\+&#!\$\*=\?\^_`\{\}~\β¦
thanks but no. I already looked at that. Thereβs no way to add custom validation messages with that method.
rsp
30 April 2025 13:59
4
Could you please screenshots and what are you trying to achieve?