Jump to content

Custom Fields into Custom Module


ptomter

Recommended Posts

I have created some customs fields in WHMCS that I now wish to use in a custom provisining module.

What is the best way to pass the value information from the client into the script?

Please advice, highly appriciate the help

Can I use something like this perhaps..

".$params["customfields$Customfieldname"]."

Edited by ptomter
Link to comment
Share on other sites

Just now, steven99 said:

There is a difference between client custom fields, like the other thread you posted in talks about, and service custom fields.  So, which one do you want?  You mix them in your post wall above, so want to confirm. 

 

1) I have created custom fields in Setup - Custom Clients Fields

2) On clients they have their information in their custom clients fields

3) This custom value would I like to use in my custom module.

 

Sorry for any misunderstanding, and I highly appriciate you taking the time.

Link to comment
Share on other sites

Okay, then please check my reply in that thread to get just the client custom fields as you have described.   Post there if you are having problems with getting those custom fields as it should not matter where you call it from as long as you have the client id.. 

Standard provisioning module functions should also provide the service custom fields in $params['customfields']['Field_Name']  -- again those are different than client custom fields. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated