currently you can prevent the fields of whmcs standards, would be a good idea to have the possibility of preventing the custom fields.
Please add locking of custom Fields. Our clients are now required to enter their National ID/Passport Number during Account Signup for security purposes. For now we've created it as a custom field but the client can login to Client Area and easily edit the field.
Doesn't whmcs already have an option that makes it non-editable to clients? you could simply add it as a custom option to the order form or no?
This one will be implemented in 5.2! :)
This would not be an issue if the custom fields were integrated correctly to begin with: it's nuts that the module options is the only place where dynamic values can be calculated (i.e. in the admin area). Far more useful would be dynamic processing of some sort for fields that are displayed to the *clients*.
yes, there are several ccTLD has this requirement, e.g. Taiwan.
the changing permission is only allow for admin
Definately worth while, especially for us whom are installing a control panel for the client. This would allow us to set the CP URL, User and pass in WHMCS so that they can reference, but not change. If they happen to change it through the CP, then they would be on their own.
I do not understand why this was not implemented from the beginning. When you want the application to be consistent and logical, then you either offer this feature for both standard and custom fields or you don't offer the feature at all.
We use the "Custom Client Fields" to save the VAT number of our customers, we need lock it a a legal requirement.
If the customer need to change their VAT number he need create a new account.
Please, implement it.
And the possibility to "hide" fields is also be useful.
Please setup locking of custom fields so that it will be editable only by the admins.
Please enable locking in custom fields. when this feature will be ready
Important feature! Will it be implemented?
Another fairly simple but very useful request that has been around for more than 5 years. Come on please WHMCS, while we all love big functional additions in new versions, it would be nice to get some of these smaller requests added as well
Please, WHMCS... It is a legal requirement to have National ID / VAT number uneditable. Either add it as a regular field or add a checkbox for custom fields to make them read-only.
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?
Comments have been locked on this page!