currently you can prevent the fields of whmcs standards, would be a good idea to have the possibility of preventing the custom fields.
Set no change Custom Client Fields
Hello, I need to set per Custom Fields not to change in client area.Thanks!
Login to post a comment.
and another of help: https://whmcs.community/topic/293992-prevent-customfieldsave-from-actually-saving/
It is unfortunate that no one knows how to achieve this ...
and even more so that whmcs has not yet implemented it.
So, you can use this hook: https://developers.whmcs.com/hooks-reference/everything-else/#customfieldsave
and compare values beetwen save with current value. This is way how you can prevent custom fields this time.
Aditional I added readonly atribute to html input block by JS.
Will try that!
WHMCS team, do you understand the importance of that? Today I'm forced to copy my custom fields input to another hidden admin entry, so that I can guarantee that nobody will ever delete it.
If the customer need to change their VAT number he need create a new account.
Please, implement it.
the changing permission is only allow for admin