Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

highlight opportunities

We've never used the function under Opportunity details where you can choose to star this opportunity. Does this mean that these appear with higher priority? how else do people use this option? ...
1
vote
2answers
30 views

Unsure if I just broke my database with a custom field

I added a custom field for authenticated users to add a bio on their profile page (and if there's an existing field I should use for this, please let me know). Not knowing how long I should make this ...
2
votes
2answers
24 views

Event Reporting to call out Custom Fields in related Contribution Record

Is it possible (via extension perhaps) to get a custom field from a related contribution record to be included in a Event Report ? For example, in a paid event registration, this would create a ...
0
votes
1answer
11 views

“Recent Registration” view under CiviEvent - Customise columns

Hi to all (and thank you in advance), I'm looking to add / remove a number of columns under the "Recent Registrations" view, in CiviEvent (image attached). Any suggestions are welcome. (running ...
1
vote
2answers
44 views

Set Default Value for Custom Field

I am trying to set custom fields in a Custom Group. Here is my code: function dfi_civicrm_buildForm($formName, &$form) { if ($formName == 'CustomData') { if ($form->getAction() == ...
1
vote
1answer
12 views

Get Contact id from Relationship to use in a Hook [duplicate]

I want to display Contact B ID of a relationship for the current contact. I am building a hook and this is my code so far. if ( $formName == 'CRM_Contactlayout_Form_Inline_ProfileBlock') { if ...
1
vote
1answer
18 views

Default Value for Custom Field

I have a created a custom group and a custom field within that group. One of the Custom fields is Date. Is there any way to autoload 'current date' (today) in the default value field Using a hook or ...
2
votes
1answer
73 views

Multi-value Custom fields not showing up for export

I have created custom fields for individuals. When I am trying to export data, those which are single value custom fields, I am able to export. While Multi-value Custom fields are not showing up for ...
0
votes
1answer
17 views

Custom field - Drop down. How to create?

Hi guys and thank you in advance. I am extending the options available under "events". I need to create a new custome field (called 'collaboration type') that presents the user with a dropdown list (...
2
votes
2answers
51 views

Deleting and Adding Custom Fields

I'm having trouble updating custom fields in CiviCRM 5.15.1/Drupal. UPDATE: I believe this is occurring because I have too many custom fields in a custom group_id. I was able to reproduce this error ...
3
votes
1answer
29 views

Can i use CiviToken in Custom Fields

Can i use CiviToken (https://github.com/eileenmcnaughton/nz.co.fuzion.civitoken) as Default Values in CiviCRM Custom Fields the same way Drupal lets you use it. Thanks
1
vote
0answers
26 views

Create “Add Custom Data” Button

Is there anyway to link someone to a page to add custom data, it seems you can only generate a link to add custom data from the page itself as there is a 'cgcount' variable. For e.g. this is the link:...
1
vote
1answer
29 views

How to cure empty config screens in civi?

We are getting two Civi config screens which show a header, but no content. The screen loads but is empty - no options, no fields, no instructions. One is when wanting to delete a custom field - here'...
3
votes
1answer
36 views

Implementing tokens and tokenValues hooks for Event custom field

I'm trying to implement a hook for inserting Event custom fields into Scheduled reminders; however, I'm not a developer so I'm really not sure what the code needs to look like. The custom field is ...
1
vote
1answer
21 views

Import Contribution failing, how to fix?

Receiving following error in drupal when importing contribution from a csv. Is there a quick fix for this? Error: Class name must be a valid object or a string in CRM_Import_Parser->...
2
votes
2answers
35 views

Can custom Tokens for pledges be created?

I need to include the amount pledged and the amount they need to pay (which are different values) within an email I'm sending from CiviMail to let our pledgers know when/how to pay and how much. This ...
2
votes
1answer
23 views

Contribution Report includes TIME

I'm creating a Contribution Report, Contribution Details. I include check the boxes for both Date Received and Receipt Date. The results for both include the time as well as the date. When I export it ...
1
vote
1answer
75 views

Can't access custom fields used in event registration

Versions: Drupal 7.63 CiviCRM 5.9.1 Custom Fields: Created custom fields with Field Type of Autocomplete-Select with lookup for following fields: Institution Area of Study Year of Graduation Used ...
0
votes
1answer
28 views

Accessing fields/data from a lookup field

Does anyone here know about CRM? Accessing lookup field data (composite address field) using JavaScript? Lookup field is on Contact form. Trying to access address of Account entity
1
vote
1answer
26 views

<br> tags inserted in rich text fields custom fieldsets when displayed as tabs

I am looking at a site where there is an extra <br> tag being inserted between all elements in rich-text fields in custom fieldsets, including between list items! And two being inserted between ...
0
votes
2answers
50 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. ...
1
vote
1answer
23 views

Hiding Fields or Disabling Them?

Can you disable or hide fields in the Individual window?
1
vote
1answer
13 views

How do I create default custom data when changing contact subtypes via the API?

If I use the API to give someone a new contact subtype it doesn't create a row in any relevant custom data tables and populate the default values. Does anyone have a good way to handle this? I have ...
1
vote
2answers
28 views

Approach to dynamically filled custom field using member since date

I've been thinking about how to best approach this and I'm stumped as to how to best go about it. I want to add a custom field to a profile that is rendered on the Contact Summary page. I would like ...
0
votes
1answer
11 views

Civievent custom data field duplicate fields in Edit

I encountered a strange situation. I have added a custom data group in a participation record called "Emergency Contact" with 2 fields and while this appeared ok in View of the participant records, ...
0
votes
1answer
65 views

Apply Access Ajax API permission to allow Add new organization option to public autocomplete for current employer, still not works

Civicrm-4.7. Apply Access Ajax API permission to allow Add new organization option to public autocomplete(1.4 v) for current employer field, but still not works!.
2
votes
0answers
16 views

CiviEvent: Limitations for workshop as part of a conference

I created an event for a conference. The conference consists of a gernal part for every participant AND of workshops/panels with limited number of participants (each workshop/panel with its own ...
3
votes
1answer
32 views

Unique custom field - contact creation

I want to add a custom field that we use as an ID from a 3rd party. I need to ensure this value is unique as a way to prevent duplicates. What is the best way to do this?
1
vote
2answers
39 views

Custom field default values at database level, not form level?

When you set a default value for a custom field, it only exists at the form level. Is there a practical way to enforce them at the database level? For instance, by altering the SQL table definition? ...
2
votes
1answer
31 views

“Use (create mode)” button is missing

WordPress 5.2.2, Civi 5.15.1 I just created a custom profile containing custom Membership fields, and want to get its URL so I can add it to the Navigation Menu. However, the Use button does not ...
3
votes
1answer
32 views

How do I put saved searches or smart groups as menu options in WordPress?

Is it possible to make custom searches (smart groups) available from the custom menu. For instance, I am tracking elections (organizations) with custom fields for special elections, open races, ...
1
vote
0answers
22 views

Webform field not updating CiviCRM field

I have created a webform and want to update existing fields in Civicrm. These fields are custom fields that have been created in CiviCRM (see below print screen) So i have created the following ...
4
votes
3answers
209 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 ...
1
vote
1answer
28 views

How to install the missing countries

When adding a new contact, I want to insert the address including the country. However, in the drop-down menu, only a few countries are listed. How can I add missing countries to the drop-down menu at ...
0
votes
0answers
32 views

Profile form submit error page displays duplicate data entry fields

I’ve used a profile on a Wordpress page on our website to gather constituent demographic info, with required fields set at the profile level. If you’re on this page as a visitor to the website and ...
1
vote
1answer
32 views

Batch Update the current relationship in CiviCRM

I need your help. I need to disable a current relationship for 4000 records in the import process without using SQL command line. There is no field for set active/inactive or expiry date of the ...
0
votes
1answer
65 views

Listing events that only belong to a group

I have CiviCRM 5.12 on drupal 7. I want to create a drupal view containing the next events that are printed if only the contact belongs to an authorized group. That is, when I create an event, I link ...
1
vote
1answer
19 views

API contact custom field

I successfully used civicrm to create a contact but I want to send a custom field value through api to be saved on the created contact but can't find a way to do can you advise, when I search in ...
0
votes
0answers
19 views

Search builder “not empty” “not null” question

I'm using CiviCRM to (in part) manage a large group of translation volunteers for our organisation. I've got everything set up quite nicely, using custom fields and groups to help our staff manage ...
2
votes
1answer
19 views

Custom dropdown for specific relationship type

When creating a new relationship is it possible to create a dropdown that only displays when you have selected a specific relationship type. For instance: Add custom relationship “Representation” ...
0
votes
0answers
12 views

Custom field not displaying in edit mode

CiviCRM 5.12.4-5.13.4 PHP 7.1 - 7.2 Joomla 3.9.6 MySQL 5.6 Hi, After updating Civi to 5.12.4, I cannot edit custom fields in contacts, also creating and editing fields in Administer 'Edit Field' ...
6
votes
4answers
120 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 ...
3
votes
1answer
29 views

Where has a custom field been used?

Drupal 7.65 CiviCRM 5.10.4 Hi everyone, Bit of a strange question here but I'll explain the context and hopefully there's a solution! So we have a custom field that asks for people's consent to ...
3
votes
1answer
27 views

API call to modify contact custom data fields fails without error

I'm trying to troubleshoot an issue I'm having with api v3. I can successfully use the api to modify standard CiviCRM contact fields, but if I use the api to modify a contact's custom field the call ...
1
vote
1answer
22 views

Help! Multiple choice value vs lable

I created a set of custom questions that are of the type multiple choice. I entered the labels like "Blue", "Green", "Orange", and left the values at 1,2,3 When I run a report in civiCRM, the column ...
1
vote
1answer
32 views

Add custom fields to cases

Have managed to add custom fields to contacts, and have tried to do the same for cases. The option seems to be there, but they do not show up on the page for creating a new case. I can add custom ...
1
vote
0answers
21 views

Custom Field: Multiple Contact References

Is it possible to configure custom field of type contact reference to store multiple contacts?
0
votes
1answer
25 views

Is it possible to assign a “custom group” to a specific roles of users?

I have a custom set of data that I wøuld like be only visible to users with specific permission. is it possible to achieve? thanks
1
vote
2answers
153 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
3answers
205 views

Event invoice (receipt) - custom tokens

Can anyone provide guidance how to create tokens for custom participant fields, to be added into a Contribution Invoice Receipt for event registrations? Our tax system requires that VAT registration ...