Jump to content
  • 0

Getting The Value Of A Custom Field


Syleron

Question

2 answers to this question

Recommended Posts

  • 0

You should fetch the custom fields in the controller and make them available to the page you're referring to. You can fetch a custom field using Clients::getCustomField, and client custom field values using Clients::getCustomFieldValues, e.g.

$client_id = 1;
$custom_field_values = $this->Cliens->getCustomFieldValues($client_id);
Link to comment
Share on other sites

  • 0

 

You should fetch the custom fields in the controller and make them available to the page you're referring to. You can fetch a custom field using Clients::getCustomField, and client custom field values using Clients::getCustomFieldValues, e.g.

$client_id = 1;
$custom_field_values = $this->Cliens->getCustomFieldValues($client_id);

 

Fantastic, thanks again Tyson!

 

Andrew

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
Answer this question...

×   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.

Loading...
×
×
  • Create New...