Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

1
vote
1answer
25 views

Missing Custom Activity Field Data When the Activity is Filed on a Case.

As the title states. Data that I enter into custom activity fields, is saved and I can view that saved data from the Activities tab in the Contact Summary. Like this: But after the activity is ...
4
votes
2answers
27 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
1
vote
1answer
13 views

Should participant custom fields be available under events on webform

Custom fields for participants in Civi are not being presented for addition to Drupal Webform. Event registration is selected and working but the custom field set for participants are not showing up ...
3
votes
1answer
33 views

How to use civiprofile for contact form

I want to use a civi profile for our contact form, so that all inquiries and new contacts are stored in civi. I created the custom fields and have them on a new tab and table, so multiple submissions ...
3
votes
1answer
23 views

CRM API shows only the first char of the result?

I'm absolutely embarrassed. I try to get value as it in this thread (and sorry for the wrong use of the topic). I try get a custom value via CRM API. With the API Explorer I can create the ...
0
votes
1answer
17 views

CiviEvent Confirmation Email Displaying Profiles Not Used In Event

We have created some custom fields/profiles to use with certain CiviEvent registrations. These profiles only display in the event registration when they are selected in the event setup - as expected. ...
5
votes
2answers
34 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 ...
0
votes
1answer
43 views

Importing membership custom field keeps failing

I'm having problems importing memberships with a custom field. I'm able to import a alphanumeric text field without an error, but a second custom field, set up as a checkbox, keeps being rejected. ...
3
votes
1answer
30 views

How to change the value of a custom radio button field programmatically?

I have a CiviCRM profile that hosts a custom field. The custom field is of type "Radio-Button" and hosts two options: What I'm trying to achieve is changing the values of each option programmatically ...
0
votes
2answers
17 views

Custom filed that will auto calculate a position number based on date

We manage a wait list for membership so I would like to know if there is a way to calculate a number for a custom filed that would be based on if a member is a subtype and then the date in another ...
0
votes
3answers
52 views

Get Custom CiviCRM Data by ContactID This is not a duplicate

This is option group 110 in civicrm_option_value I am trying to create a custom query for reporting that pulls the actual Custom Data LABELS ('Green Light','Red Light', etc)vs the custom data VALUES (...
0
votes
1answer
61 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 ...
1
vote
2answers
19 views

Keeping historical demographic information, while updating donor information

So we have a unique use case. The organization collects donations from employees of various departments with various roles at the organization. Collecting employee information like title, department,...
1
vote
2answers
25 views

How to display only Time value in User Contact without the Current Date value

I have created a custom field selecting date type,selecting the date format and time.Actually I will need only Time field but the system doesn't alow to create custom field of type date, without ...
0
votes
1answer
19 views

Custom Data Responses

How can I view responses to custom data questions? By looking at Contact summary I can see that new contacts are responding, but when I click on the link, nothing is there.
1
vote
1answer
21 views

Cannot set sort order of custom fields in profile

I created a custom group and populated with custom fields. When I preview all fields in group, it is in the correct order. When I use the custom group in a profile, the profile reverses the order. ...
3
votes
1answer
23 views

Large Text Fields Not Writing in Database

We've discovered what seems to be a bug creating large text fields from CiviCRM Custom Fields. I hope I'm able to explain this well enough. Relevant environment information: - Drupal 7.59 - CiviCRM 5....
0
votes
0answers
23 views

Custom fields inline don’t save data but tabs do after failed upgrade

WP 4.9.6 Upgrade from 4.7.24 to 5.1.2 upgraded files but not database (still showed 4.7.24 in civicrm_domain) No error messages it just hung. I reverted to original files and database Now in backend ...
1
vote
1answer
27 views

Insert custom date field from Drupal Webform

I'm trying to set up a Drupal Webform that will (among other things), automatically update a custom date field in the connected CiviCRM contact record. The date field in the webform is hidden, and I'm ...
0
votes
0answers
45 views

Participant Custom Field Set not displaying when edit or view registration record

I have a 4.7.27 WP install where the custom field set attached to a participant record does not display when either viewing or editing the participant record. I know the fields are there because they ...
1
vote
1answer
21 views

Why would two distinctly separate custom fields share the same options?

Why would two distinctly separate custom fields {Constituent Info and Contribution Info} share the same options? How do I go about separating them? If I try to delete any option I get this ...
1
vote
1answer
14 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 ...
3
votes
0answers
17 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 ...
1
vote
1answer
38 views

How to display an Event's custom field on its registration form

I have a custom field set with fields used for managing extra data on the event. I want one of the custom fields' value to be shown in its registration form. What is the Smarty expression to put in ...
0
votes
2answers
19 views

Different subsets of a selection custom field

I have a select custom field for 'Accommodation' showing the options available for participants in events' registration form. To simplify, lets say there are 10 different accommodation options, '...
0
votes
1answer
33 views

Custom date field formatting with smarty

I'm trying to format a custom date field using smarty to send emails. What I want is to have the day of the week included, as "Wednesday, April 18, 2018". It seems that this should work: {contact....
1
vote
1answer
23 views

Multi-value custom fields for events

I have events that often include downloadable materials. Whether or not there are downloads, what exactly they are, and the number of downloads related to a particular event is variable and unique to ...
2
votes
0answers
23 views

Custom data sets, search and display in CiviCampaign

I am currently setting up CiviCRM for the small NGO I currently work for, and I am having a lot of trouble with CiviCampaign. We use CiviCampaign to record every fundraising campaign the organization ...
0
votes
1answer
42 views

CiviCRM_API3_Exception: Expected one CustomField but found 0 in civicrm_api3() (line 45 of sites/all/modules/civicrm/api/api.php)

I was cleaning up some extra custom fields in our DB. ONe of these , though it was disabled did not stop displaying in the contact profile. So I clicked to delete it. I then got this error when I ...
1
vote
2answers
47 views

Fixing the CiviCRM db when someone deleted “phone” from system dropdown menu options

Got a problem with how someone (I suspect) has gone in to CiviCRM » Administer CiviCRM » Option Groups » Phone Type Options and thought "hey, we don't need a dropdown item of "phone" because that's ...
0
votes
2answers
28 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
0answers
29 views

Custom Fields values from database — Step-by-step guide?

I'd like to create a custom field (field_3) on the Contact page, which value comes from a table, depending on field_1 and field_2. Is anywhere some step-by-step guide, how to make this? Thank you!
0
votes
0answers
77 views

Custom Field Set Creation yields Duplicate entry '0' for key 'PRIMARY'

When I try to create a custom field set, I get the following error when I save it. How do I correct this issue? DB Error: already exists Error Details Database Error Code: Duplicate entry '0' for ...
1
vote
1answer
32 views

New Profile adding custom fields issue

I created a new Contact Type, Parish, based on Organization. No data added yet. I will display this as a field in a Contact Records as a Parishoneer of relationship. I am following a tutorial ...
1
vote
0answers
20 views

Images uploaded as custom fields are broken on view/download

I'm using Drupal with CiviCRM 4.7.30 (but this issue also affected 4.6) on Nginx & Debian I have a custom field used for images. Images are uploaded and stored correctly (when copying the image ...
1
vote
1answer
29 views

How can I have both Participants Custom Data and Contacts Custom Data in a Drupal View

I want to create an Event Participants View which displays both Participants Custom Data and Contacts Custom Data. But when I want to add new fields, the Contact Custom Data are not proposed. Isn't ...
0
votes
0answers
24 views

CiviCRM Joomla Permission issue when editing custom fields in tab mode

I think i found a bug in civi. Here is the scenario. 1) CiviCRM permission in Joomla ACL for the user account: view my contact - allowed edit my contact - allowed access uploaded files - allowed ...
0
votes
0answers
19 views

Custom Field set with multiple entries

I have created a custom field set which contains multiple entries where each entry contains three fields. If I display the fieldset as 'Tab with Table' it displays correctly and I am able to delete ...
2
votes
0answers
32 views

Fix for column names breaking the 64-character limit

I'm trying to generate a report using custom fields and I am getting nativecode=1166 ** Incorrect column name This happens when the report is trying to generate temp tables using an alias as the ...
3
votes
1answer
20 views

Need to enlarge the field box size

I've created some custom fields for a profile and would like one of them to have a larger text box than the default size. How do I enlarge the field box size?
0
votes
1answer
31 views

How do you set the displayed text of a custom field (“view-only”)?

I am using Drupal and I have an extensions that I am running this code on. I've seen several threads attempting to help with this. I haven't found any that really make it clear. From what I ...
0
votes
0answers
11 views

Two fields in focus simultaneouly

I've never come across this before, but a user for one of my sites has just contacted me with the following screenshot and description. Any idea what's going on here? ... It happens when creating an ...
0
votes
0answers
37 views

How can I create a webform to enter grades, calculate grade point average and display as a custom field in the contact record?

Using 4.7.29 on D7. Just thought I'd ask to see who might have some insight for us. We function as an educational program, a school. People progress over the period of 1-year through 3 phases of ...
1
vote
0answers
575 views

How to modify a custom field DataTable (sorting and appearance) from an extension?

I am having difficulty customising the display of a DataTable for a contact custom field group (multiple-record tab). I am trying to write an extension that would use a bit of JavaScript to interact ...
1
vote
0answers
18 views

custom fields created but don't show in civicrm_value_constituent_information_1

I ignored error messages on entering custom fields - Turns out they meant something. Can't import data, as many fields listed under wordpress:civicrm:administer:custom data and fields:custom fields do ...
0
votes
1answer
25 views

How do you implement more than one “Employee of” field?

How do you implement more than one "Employee of" field? We have a number of contacts that have multiple jobs. Ideally we would like to have the Employee Of field have multiple sub fields (primary, ...
0
votes
1answer
27 views

customize the interface / view

I am starting with CiviCRM this week and a user asked to me: how to customize the contact summary view to add the 'Contributions tag' into the summay I think I have to go to admin menu: Administer > ...
1
vote
0answers
24 views

Pre-fill custom field value on advanced contact search form

I have a custom field that I want to be searched when a user chooses a custom quicksearch option. I have the autocomplete working with the custom quicksearch option, but I want the behavior of ...
0
votes
0answers
19 views

How can I remove a multi-choice option set in a custom field by an event registrant?

I'm running on Civi 4.7.27 and shortly to update. I have a custom field set up to provide three radio button options for event participants. The field is not set as a required field. A user registers ...
5
votes
2answers
73 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, ...