nuffsaid Posted July 29, 2018 Share Posted July 29, 2018 Hi, I'm trying to set up additional domain fields for a custom domain extension but when i add the line into /resources/domains/additionalfields.php it shows the raw code on the top of the page rather than an additional field on checkout. Please refer to the screenshot attached I was trying to follow the tutorial here https://docs.whmcs.com/Additional_Domain_Fields What am I doing wrong and how can I fix this? What I am trying to do is to add additional fields in the domain upon checkout for .co.zw domain name where a client will enter the core business for the domain name as well as other text fields so i can comply with my local domain registry policies. Thank you in advance for your assistance 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 29, 2018 Share Posted July 29, 2018 44 minutes ago, nuffsaid said: What am I doing wrong and how can I fix this? I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include... <?php ... but looking at your site, it now seems fixed. 👍 1 Quote Link to comment Share on other sites More sharing options...
nuffsaid Posted July 29, 2018 Author Share Posted July 29, 2018 2 hours ago, brian! said: I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include... <?php ... but looking at your site, it now seems fixed. 👍 Hi Brian, thank you very much. Adding the <?php tags solved the problem 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.