ACPS Posted October 31, 2009 Share Posted October 31, 2009 I'm having a problem modifying a custom client field. I added a client field named "Account Number" and I don't want the client to be able to edit it. How can I prevent my customers from being able to edit it? Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 31, 2009 WHMCS Support Manager Share Posted October 31, 2009 Make it an admin only field. But presumably you also want your clients to be able to see it on the my details page? In which case it's slightly more complicated. Add the following to clientareadetails.tpl {php} global $clientsdetails; echo $clientsdetails["customfieldsX"]; {/php} Replacing X with the custom field number. 0 Quote Link to comment Share on other sites More sharing options...
ACPS Posted October 31, 2009 Author Share Posted October 31, 2009 Make it an admin only field. But presumably you also want your clients to be able to see it on the my details page? In which case it's slightly more complicated. Add the following to clientareadetails.tpl {php} global $clientsdetails; echo $clientsdetails["customfieldsX"]; {/php} Replacing X with the custom field number. Thank You John. That worked perfectly. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 1, 2009 WHMCS Support Manager Share Posted November 1, 2009 My pleasure 0 Quote Link to comment Share on other sites More sharing options...
ihostgreen Posted November 28, 2009 Share Posted November 28, 2009 Where should this be entered if I want it to appear in the same location as other custom fields? How can I get it to pull in the field name Thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.