Skip to main content

Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
16 votes
5 answers
1k views

Collecting Facebook, LinkedIn profiles

Collecting Twitter handles from users is straightforward: create a custom field, ask for the handle. But collecting links to Facebook or LinkedIn profiles is more tedious, since most people don't ...
choster's user avatar
  • 1,910
9 votes
3 answers
441 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 ...
Siddharth Gupta's user avatar
8 votes
1 answer
693 views

How to add a checkbox like "I agree following terms & conditions..."

I would like to add a mandatory checkbox on one of our event registration page. How can I do that please?
Tapash's user avatar
  • 3,014
8 votes
4 answers
421 views

Editable "Other" option in multiple choice / select field?

Is there a way to create a CiviCRM form like this: What would you like to eat at the event? Falafel Kebap Other: ......................... <-- user can make a free entry here ...
Martin Peth's user avatar
7 votes
4 answers
839 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, '...
michaelmcandrew's user avatar
7 votes
2 answers
368 views

How to get the new record ID, when adding a record to a multi-value custom field using the API?

The API calls I know of that add a record to a multi-value custom field, don't return the ID of the added record (which you can then use to access the value for the specific record in the form ...
DaveFF's user avatar
  • 1,527
7 votes
1 answer
80 views

Display: is it possible yet to collapse a set of non-custom data?

This is my first time on stack exchange so please excuse me if I've posted this in the wrong place, tagged it incorrectly, or missed anything else. And although I feel that I know civiCRM fairly well, ...
SBecker's user avatar
  • 96
6 votes
3 answers
741 views

How do I use custom fields in Drupal views?

[EDIT] Totally editing this question. Custom fields do not work in my Drupal views, at all: The interface to add the custom field worked just fine. It's only the generated sql thats wrong. Its ...
commonpike's user avatar
  • 1,191
6 votes
7 answers
1k 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 ...
choster's user avatar
  • 1,910
6 votes
2 answers
698 views

How should I move a custom field to a different custom fieldset?

Sometimes one needs to rejig which fieldset contains one or more fields after data has been entered in them. For example, you create a new contact subtype and you want to move some but not all of the ...
Joe Murray's user avatar
  • 6,741
6 votes
2 answers
159 views

Add Custom Field to Core Field Group

I'd like to add a custom field to the "core" demographics fieldgroup: the place of birth. I created a custom field, but I can't figure out, how to put it into demographics fieldgroup. Is it possible ...
Pál Rudan's user avatar
6 votes
4 answers
318 views

API: How do I delete a custom value?

I may be blind but I can't see any api call to delete a custom value?! CustomValue entity is missing a delete action. What am I missing?
nielo's user avatar
  • 1,316
6 votes
4 answers
128 views

Spanish custom last name solution

I'm new here, but I'm sure not the only one who speaks Spanish. I would like to know what solutions you have used for the problem of the 2 surnames that are used in Spanish. Which is the best ...
Ricardo's user avatar
  • 63
6 votes
1 answer
73 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 ...
user825's user avatar
  • 403
5 votes
3 answers
195 views

Best practice for dealing with electoral district / constituency?

I'm new to the forum, so let me know if I should ask elsewhere. We are a campaigning organisation and much of our campaigning is based on electoral consituency, but I'm not sure how best to capture ...
Durruti's user avatar
  • 71
5 votes
3 answers
128 views

How to reuse Preferred language select?

There is the Preferred language field in Communication Preferences which allows to choose the contact's preferred language. However when I try to create custom fields for a contact's second, third ...
ñull's user avatar
  • 1,208
5 votes
1 answer
100 views

Why can't I see different financial types in contribution reports

With our contributions, one payment may contain 3 financial types ... e.g. an event fee, membership fee and donation. I have created "Price Sets" (of one Financial Type), which then contain 3 ...
Alison Wright's user avatar
5 votes
3 answers
236 views

List Parents of Children having certain values

Is there a way to query the Custom Fields on a Child and then show their Parent's detials? Scenario: email all parents whose children attend a certain class.
stevewestrop's user avatar
5 votes
2 answers
344 views

How do you import (custom) relationship fields?

I am prototyping and testing import from M$ Access. Up to now I could quite easily import relationships, but I am missing the way to import also the relationship core Start date and custom fields I ...
ñull's user avatar
  • 1,208
5 votes
3 answers
822 views

How do I delete an option group (civicrm_option_group)

I'm getting frustrated with googl-ing, and can't find out how to delete/remove option groups. Anyone have a simple answer? Even if I have to go into the DB and remove entries from ...
Marsh's user avatar
  • 670
5 votes
2 answers
175 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 ...
spidersilk's user avatar
5 votes
3 answers
514 views

How do I create conditional forms?

The charity I work for has two specific scenarios where I need to create conditional activities based on form input. 1) We run a food bank and referring organisations fill in an online form. However, ...
Keith Reed's user avatar
5 votes
2 answers
1k 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 ...
P a u l's user avatar
  • 752
5 votes
2 answers
160 views

How to fake a 'deny' ACL

Has anyone ever tried to deny access to a group of custom fields, for particular roles/users? We have a custom-data tab that we'd like only particular roles to see. I know there's no 'deny' ACL, but I'...
Andrew West's user avatar
  • 2,054
5 votes
1 answer
52 views

Does CiviVolunteer need volunteer sub-contact type?

We have found that it is more cumbersome than it is worth to use a 'volunteer' sub-contact type classification. One reason is profiles assume one contact type and even working with Caldera Forms it ...
Andy Burns's user avatar
  • 3,691
5 votes
1 answer
114 views

new event From Template does not copy custom fields

On the demo site - http://wpmaster.demo.civicrm.org/wp-admin/ I have created a new set of custom fields for Events - "Events custom fields" with one text field - "test1". I have added value "tst" for ...
Stoycho's user avatar
  • 428
5 votes
1 answer
51 views

Is it possible to set up a custom field that requires a specific format eg xx-xxxx-xxxxxxx-xxx

We need to store bank account numbers and will set up a CiviCRM custom field for the data. Ideally we would like the field to be such that people only enter data in the following format xx-xxxx-...
Gemma - Fuzion's user avatar
5 votes
1 answer
46 views

CiviEvent custom data missing on confirmation page

I am testing out some custom data on CiviEvent under wordpress; on both the civicrm demo site and a live production site. In both cases if you add a custom field with a checkbox to the profile for ...
Roy's user avatar
  • 51
5 votes
2 answers
405 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/...
Norris's user avatar
  • 870
5 votes
3 answers
301 views

Add custom field and populated with array/data from a non-civicrm table

newby here with a quick question about custom fields. Is it possible to set up a custom field that queries a non-civicrm table? Hoping to create an autocomplete dropdown menu that does a SELECT on a ...
johnnyeng's user avatar
4 votes
2 answers
111 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 ...
SproutMediaLab's user avatar
4 votes
2 answers
342 views

Multiple file upload field

I have civicrm installed with Drupal. I was not able to find how to create a multiple file upload using a civicrm custom data field. By default it allows only single file to be uploaded at a time. I ...
Juyal Jee's user avatar
  • 343
4 votes
1 answer
161 views

Advance Multi-Select - Obsolete?

When I was editing a custom field I got this pop-up: 'Obsolete widget The old "Advance Multi-Select" widget is being phased out and will be removed in a future version of CiviCRM. "Multi-Select" is ...
Dave's user avatar
  • 161
4 votes
2 answers
223 views

Preparing for move to utfbmb4 should I limit character length?

I'm looking into moving our database to utf8mb4 - as indicated will be required in the future. I've been trying to find information about the possible impact in doing so and I found this post: https://...
RayWright's user avatar
  • 2,488
4 votes
1 answer
101 views

Is it possible to create nested multiselect custom field?

The use-case is a business directory. Businesses sign themselves up and provide info about their operation. There are many types of businesses (NAICS), and the options they need to self-identify as ...
Kwilde's user avatar
  • 41
4 votes
1 answer
43 views

How to request bug fix for LTS

How do I request that LTS include a particular bug fix? The issue in question is https://issues.civicrm.org/jira/browse/CRM-13287. It's an issue for my site upgrading to 4.4 now and presumably 4.6 ...
ASav's user avatar
  • 343
4 votes
2 answers
369 views

CiviCRM API with Custom Data mixed with Standard Entities

I'm using CiviCRM 4.6 with the new API editor. I'm attempting to chain a bunch of queries together, which provide cases for a client within a period, along with the linked contact, along with custom ...
Adam's user avatar
  • 479
4 votes
1 answer
89 views

Extension for hierarchical custom fields?

Does anyone have a generic extension for hierarchical custom fields? For example, we have 'Country', 'State' and 'County' - the value of Country determines what States are valid, and the value of ...
Aidan's user avatar
  • 13.6k
4 votes
2 answers
192 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 ...
Mark Westergaard's user avatar
4 votes
1 answer
101 views

How can arrange custom fields so they are side by side?

I have a high number of 'outcomes' for a client in the format of 3 fields for each outcome as below: 'outcome words', date identified, date met Problem is that custom fields are formatted as one ...
Andy Clark's user avatar
  • 4,945
4 votes
1 answer
86 views

Why are you allowed to set DB field length on Text fields?

I know the documentation says you should leave it the same, but suppose I know I want the text field to be only 3 characters every time? I can set it fine in custom fields, but when I go to enter ...
Cheryl's user avatar
  • 371
4 votes
2 answers
235 views

Tokens for Custom Field Set with Multiple Records

I'm looking to print / email groups of contacts with a list of their accreditations which we've stored in a custom field set with multiple records. How do we get that to appear on emails & ...
IT Support Shanti Mission's user avatar
4 votes
1 answer
59 views

Is there a hook to impact custom data before it's saved?

I feel like I've hit this issue before and found a solution, but I'm drawing a blank right now. I need to be able to compare the value of a custom data field before it's saved in order to ...
lcdservices's user avatar
4 votes
2 answers
82 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
Reem's user avatar
  • 41
4 votes
3 answers
293 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 ...
Darren's user avatar
  • 770
4 votes
1 answer
169 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. "...
Lisa J's user avatar
  • 474
4 votes
1 answer
92 views

Custom Field: Multiple Contact References

Is it possible to configure custom field of type contact reference to store multiple contacts?
Pradeep Nayak's user avatar
4 votes
2 answers
221 views

custom fields not adding to Drupal views

I'm trying to build a drupal view and pull in rm custom data For both contact (client) and case (view for case contact, relationships include case contact id-case id, and case contact id- contact id) ...
Craig Almond's user avatar
  • 2,037
4 votes
1 answer
38 views

How delete billing address fields on contributing page?

for example https://civicrm.org/contribute joomla + civicrm we want to keep only values: Select your contribution amount below Contribution Amount $ 25.00 $ 50.00 $ 100.00 $ 200.00 $ 500.00 Email ...
user4136's user avatar
4 votes
2 answers
175 views

Adding Custom Field to Contact Membership Tab

CiviCRM 4.7.9 I have a custom field that I created for memberships. I would like to have this field displayed as a column within the membership tab when viewing a contact. I've been digging into ...
Sleewok's user avatar
  • 1,146

1
2 3 4 5
14