benfaust Posted August 14, 2008 Share Posted August 14, 2008 Our client is using two custom fields, which have been created. Another program needs to create a new client via the API (already working). The problem I'm having is getting the data into the two custom fields. I've tried using the name they were given when created, the name listed when the client data is pulled via the API (customfields1 and customfields2), and the name used on the edit page within the WHMCS admin (customfield[3] and customfield[4]). None of these work in either creating or updating clients. This is a requirement. Anyone have any ideas? 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted August 14, 2008 Share Posted August 14, 2008 Have you tried customfield[x].value ? 0 Quote Link to comment Share on other sites More sharing options...
benfaust Posted August 15, 2008 Author Share Posted August 15, 2008 We're working in PHP. The closest thing to that I tried was $requestfields[ "customfield" ][ x ] = 'some value'; Is that what you meant? 0 Quote Link to comment Share on other sites More sharing options...
trappedatuf Posted August 15, 2008 Share Posted August 15, 2008 Sorry posted in the wrong thread! 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.