Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
16
votes
5answers
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 ...
9
votes
3answers
300 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 ...
8
votes
1answer
416 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?
8
votes
3answers
260 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 ...
7
votes
2answers
320 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 ...
7
votes
1answer
75 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, ...
6
votes
3answers
536 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 ...
6
votes
7answers
885 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
2answers
59 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 ...
6
votes
4answers
640 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
4answers
203 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?
6
votes
4answers
119 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 ...
6
votes
1answer
60 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
3answers
132 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 ...
5
votes
2answers
439 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 ...
5
votes
1answer
67 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 ...
5
votes
3answers
226 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.
5
votes
3answers
572 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 ...
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 ...
5
votes
2answers
193 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 ...
5
votes
3answers
354 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, ...
5
votes
2answers
810 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 ...
5
votes
2answers
130 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'...
5
votes
1answer
38 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-...
5
votes
1answer
38 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 ...
5
votes
1answer
38 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 ...
5
votes
2answers
285 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/...
5
votes
3answers
228 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 ...
5
votes
0answers
70 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 ...
4
votes
1answer
137 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 ...
4
votes
1answer
61 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 ...
4
votes
1answer
34 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 ...
4
votes
2answers
226 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 ...
4
votes
2answers
312 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 ...
4
votes
2answers
111 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 ...
4
votes
1answer
93 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 ...
4
votes
1answer
73 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 ...
4
votes
2answers
173 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 & ...
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
3answers
201 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 ...
4
votes
1answer
116 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
77 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) ...
4
votes
1answer
28 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 ...
4
votes
2answers
149 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 ...
4
votes
1answer
113 views

Pulling Reports with Custom Fields

Ok, I have a customer that has created an event that has a rather extensive profile setup, which includes a field to upload a file. When they pull the report, the full URL to access the file isn't ...
4
votes
1answer
58 views

“Groupings” of Option Values: are they actively used?

When editing an Option Group directly (from Administer / System Settings / Option Groups) (but not when editing the options for a custom field), I can fill in a "Grouping". There is a corresponding ...
4
votes
1answer
268 views

CiviCRM API and checking if a custom field is empty rather than not null

Is there a way to check if a custom field is empty using the API? The check for 'IS Not Null' appears to work to an extent, but only if a custom field is not part of a set of custom fields, When one ...
4
votes
2answers
107 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, ...
4
votes
2answers
52 views

Recommended set up for Individuals -> Member of Organisation -> State Governing Body

This may not be the best forum to ask the following - so let me know if I have this wrong and let me know how best to proceed. (FYI I'm in Australia and using Joomla 3.5.1) I have been looking ...