Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
9
votes
3answers
309 views

How do I add a new table to my extension?

I have added tables to my database by writing SQL commands in a sql folder as specified in the given link. Add a database upgrader / Installer / uninstaller. What I am exactly looking for is a ...
5
votes
2answers
130 views

Is there a way to add a custom field to the Inbound SMS activity type?

I'm working on a Drupal site that includes a view showing unanswered SMS messages. The view shows activities of the Inbound SMS type that have not been revised or deleted, plus a custom PHP filter ...
4
votes
3answers
211 views

How do I allow custom date field over 10 years ago?

Civi 4.7.3 and Wordpress 4.4.2 Since upgrade from 4.7 to 4.7.3 I cannot seem to add a custom date field and allow the user to select a date older than 10 years ago. Recreated on Demo site: Click ...
3
votes
2answers
94 views

How and when should I create custom data fields?

I need at least 50 different "categories" or "custom fields". Everything from Contact Info like Name, Address, etc. to specific information that I would have to uniquely name. I am getting extremely ...
3
votes
1answer
72 views

checkbox import problems

Right now I have a custom data set set up that has 3 custom fields inside of it. Inside each custom field is a list of options that can be checked. (checkbox is the option) In my spreadsheet that I ...
1
vote
0answers
156 views

How are multiple record custom fields handled in Drupal webforms?

Can't find anything on this from my searches, so thought I'd put the question here: If I use fields from a multiple-record custom field set in a Drupal webform via the webform_civicrm integration ...
5
votes
2answers
297 views

Can I customize the contact relationship tab to show custom fields?

I have a relationship type with some custom fields. Is there any way to customize the relationship tab under a contact, to display those custom fields? Instead of the default Start/End/City/State/...
7
votes
4answers
658 views

What is the correct way to work with custom data in the API?

I always seem to struggle to find a concise way of working with custom data via the API. I know that something like... $updateParams = array('version' => 3, 'contact_id' => $contact_id, '...
6
votes
7answers
894 views

How can I add/rearrange custom fields in the default contact view template?

We would like to rearrange the output of custom fields on the basic contact view page (in Drupal, /civicrm/contact/view?cid=NNNN&reset=1) in CiviCRM 4.5 on Drupal 7. Specifically, since this is a ...
6
votes
1answer
61 views

CiviEvent - Search by custom field

The situation I added a custom field to CiviEvents called regio (means region in English) and I want to be able to fetch CiviEvents by this field. I'm on CiviCRM 4.6.6 and Wordpress 4.2.2 The ...
5
votes
2answers
831 views

How to add custom fields to membership report display columns?

We have a set of custom data for memberships. One field is 'radio' type for newsletter delivery preference: online, paper, both, none. We can filter on this custom field in membership reports no ...
4
votes
2answers
118 views

Attach pdf file civicrm_api3

i need help, i'm trying to attach through civicrm_api3('Attach', 'create'..) a pdf file, passed with a rest call as simply text: %PDF-1.3 1 0 obj << /Type /Catalog ... ecc . The attach works, ...
3
votes
2answers
239 views

multi-value import issue

I created several custom fields & groups but I am not seeing all of them when I try to import my contacts. Like I have a few custom sets/groups and custom fields within each. But only one set is ...
2
votes
2answers
200 views

How to set a custom country field using the API

Some fields that are stored as id references to other tables can be set by simply passing the value as an id, e.g. setting gender_id=Male works. I have a custom fieldset attached to contacts that ...
2
votes
2answers
333 views

field like “Current Employer” that creates new organization and relationship

Is there a way to create in a new custom field the functionality in an Individuals "Current Employer" field? For example, trying to create a generic "Organizational Affiliation"... How to create the ...
2
votes
1answer
157 views

Multi-value fields in profiles - how to?

When I add a multi-value custom fields to a profile, Civi only allows visitors to enter the fields once - as a simple fields. How to configure custom fields and profile to get form with multi-field ...
1
vote
1answer
59 views

Why after importing contact records were Addressee field values set to “Customized” for records where Custom Addressee had a null value?

I imported a large group of organisations into a sub-org group "Media". Some orgs had a specific generic addressee (ie, Editor) which I imported into the Custom Addressee field. After import I ...
4
votes
1answer
129 views

Error on activity import: “'1' is not a valid option for field custom_42”. Can I find which field this is referring to through the admin interface?

I am importing custom activities (with some custom fields in them) and getting "'1' is not a valid option for field custom_42." The problem is that I can't figure out which field it's referring to. "...
4
votes
2answers
40 views

How to display custom fields 2 fields in row, instead of new line for each field

I'm new to civiCRM, I tried to search but didn't find an answer, although I feel that my question is naive
4
votes
2answers
120 views

Option Values with problematic Values

I'm getting this status message: The Following Option Values contain value fields that do not match the Data Type of the Option Group It references an Option Group and a option value of "No". The ...
2
votes
1answer
87 views

Multiple values for custom fields in Activities?

Anyone has seen any custom implementation/extension of custom group multiple values for Activities? Since we are using Activities for many different scenarios, many times the requirement of having ...
2
votes
1answer
57 views

What are the files and fields in CiviCRM?

An organization I volunteer for is considering this software solution. I need to see the files and fields in those files to see how they match to our current system. A brief description of the purpose ...
2
votes
2answers
1k views

How do I pass a variable to a smarty template?

Big picture: I'm working on a module that will display view-only custom data on a specific contribution page. Please understand, if you're not aware of this already, view-only custom data is not ...
2
votes
1answer
316 views

How to use the API to query custom fields on activities?

Looking at the API explorer on the demo site it appeared that it's possible to query custom data on activities using the API. However it seems that while the UI helps you select custom fields and set ...
2
votes
1answer
186 views

How to get url for custom image field

I have currently created a custom field in CiviEvents to upload an image for my event. When viewing the eventinfo page I can see the image in a collapsible field which shows the thumbnail of the image ...
1
vote
1answer
59 views

System status notice about option value 0 in number field

I'm getting this System Status notice: The Following Option Values contain value fields that do not match the Data Type of the Option Group It references an option group with 0 as one of the values. ...
1
vote
1answer
108 views

Extending default search for name to consult a custom field

How would it be possible to hook into civi's searches to always lookup a custom field when searching for name? Background: In our setup we handle big departments as distinct contacts. Their name is ...
1
vote
3answers
91 views

Different search results in Adv Search vs Search Builder

We upgraded yesterday from 4.5.8 to 4.6.5 (with Drupal 7.38). We have a number of custom fields for Individuals which are type multi-select (child's grade in school, marital status, etc.). When we ...
1
vote
2answers
154 views

Custom fields for invoice / PDF

I know that sticking in a contact-related custom field to the invoice template is just "contact.custom_xx" (where xx = custom field id). We're trying to do the same for a Contribution-related custom ...
1
vote
1answer
96 views

How to target record id for multiple record custom field set in Webfom?

Drupal 7.40 Webform-Civi Integration 7.x-4.13 Similar to Graham's question here. Use case: Setting up goal plans that look like this: Long-Term Goal 1 Short-Term Goal A Short-Term Goal B Short-...
1
vote
1answer
53 views

Formatting of formatted text in print case and activiy audit

I'm sure this shoudl be fairly straight forward. I think i'm looking in the wrong place. When I try to print the report of a case (civicrm/case/report/print?) or undertake an activity audit of a ...
1
vote
1answer
84 views

help needed in importing multi value custom fields

For the below custom fields, suppose a contact has two UG degrees B.Tech, BBA and two PG degrees M.Tech and MBA, I want to add additional set of custom field set, and then add the second degree. Like ...
1
vote
1answer
28 views

How to report on repeating custom fields

My client wants a report on a set of 10 repeating custom fields, each one of which has a date and one of a set of outcomes. e.g there is an 'Accommodation' custom field which has 2 fields - a date and ...
1
vote
1answer
173 views

Token not evaluating in CiviMail

I have a token for a custom field in my email template, but its not being replaced with the value when the email is sent. What's wrong? How can I fix it?
1
vote
3answers
58 views

Notes about participants

We need to fill some information about people that registered to specific event, for example room number where they will stay. Is it possible to store additional information about participants so that ...
0
votes
3answers
168 views

How to create Drupal View of Participants with custom fields

I have events with custom fields. I want to show participants with the corresponding custom fields in a View. I can't find how to retrieve custom datas. Is somebody have already created this kind of ...
0
votes
1answer
44 views

Using custom fields to store secondary addresses

As of now only primary address of a contact is searchable in advanced search. Search is not possible for other addresses of the same contact. So I want the other addresses of contact also searchable. ...
0
votes
1answer
89 views

MySQL Query to return all custom values

Any MySQL Civi Gurus out there that know how I can create a query to return all custom value fields with their value per contact id? I know how to get the occasional custom value, but i need the ...
0
votes
0answers
185 views

Contribution email receipt with custom fields shows array in template

Using default contribution receipt message template, the receipt email shows "array" rather than custom field values. It works correctly if no custom fields are used in profile. This seems like this ...