Feature Requests
Share ideas, discuss and vote on requests from other users in community

prevent clients from editing custom fields

Alexandre B. shared this idea 5 years ago
Under Consideration


currently you can prevent the fields of whmcs standards, would be a good idea to have the possibility of preventing the custom fields.


Alexandre B.

Comments (17)


Every country has it's own ID that can't be changed or standardized.

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.


@Anderson they don't uderstand becouse this request has not enough likes;) They only look on the request with >100 likes.

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.


@Lukasz do you mind posting your code using the hook that would prevent the save?