Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
3
votes
1answer
55 views

Custom Field: Multiple Contact References

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

SQL too many joins limitations- what will break and how

From experience I know that once a database reaches a certain size the sql limitation of 61 joins can cause problems I've seen it raised in stack exchang here:Too many tables - MySQL limitation - ...
2
votes
2answers
12 views

Webform integration - how to I get a webform to create multiple records in a custom field set?

Using Drupal 7.81 and Webform 4.x with CiviCRM Webform integration. I have an application form that uses a custom field and this field is set to allow multiple records. The form is set to expose 6 ...
1
vote
1answer
9 views

custom fields in hook_civicrm_pre' $params have an extra “_-1” suffix

On my latest Civi 5.37.2 the params array passed to hook_civicrm_pre looks like: Array ( [hidden_custom] => 1 [hidden_custom_group_count] => Array ( [] => 1 ...
1
vote
0answers
10 views

Custom field checkbox option seems non-searchable because of + character in value. How to access my data?

I created a custom field months ago with checkbox options for age categories, including an option with the value '65 and +'. I can search for the other values of the same field without any problem (ex....
0
votes
1answer
24 views

Searchable Profile fields do not work

I have an issue on creating profiles. When I create a profile with several fields such as "First Name" "Past Name" "E-Mail" and some Custom Fields and I set these fields ...
3
votes
1answer
88 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
0answers
11 views

Custom Field data missing in export

For an event we wanted to aks for more information so i set up a set of custom fields. I added this to a profile and added some more fields I added the profile to an event registration. If a user ...
1
vote
1answer
33 views

Add a custom field as a column in relationship tab

I added a column in relationship tab, to do that I edited the civicrm/CRM/Contact/BAO/Relationship.php I already added columns with fields existing in the base of civicrm but now I'm trying to add a ...
0
votes
1answer
41 views

How can I prevent users editing custom fields for contacts not in their ACL group?

Using Wordpress 5.4.1 with Civi 5.24.3. We have a smart group used for ACL which prevents the core "Edit" button being shown on the contact summary. There is also an ACL entry for a group of ...
2
votes
1answer
27 views

When exporting data from CheckBox field, can value of be different from what is displayed?

When exporting data from a custom CheckBox field, can the value of the data exported be different from what is displayed? For example, the checkbox Multiple choice is labeled "Asked" but I would ...
2
votes
2answers
55 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 ...
0
votes
1answer
15 views

Custom field saves, for all entries, instead of wanted data a number that is not in original data

I'm having an odd problem with a custom field within a custom data set. The field is made for personal identification number, data type is integer and it's a single line input field. Every time I ...
0
votes
0answers
18 views

Is it really not possible to have two multi-record custom fieldsets in one profile?

I'm trying to set up a form for contacts to update their own data via our Joomla frontend. However, I ran into an unexpected problem when I tried to add a second multi-record custom fieldset to a ...
0
votes
1answer
45 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
0answers
16 views

Illegal text in MySQL queries

I have a CiviCRM install on Windows shared server operated by a client. The installation was originally set up on a dedicated Ubuntu Linux virtual server, but was transferred to the Windows server at ...
0
votes
1answer
24 views

How to send Participant-Specific information via CiviMail

We are running a hybrid event where some participants are virtual via Zoom and some participants attend in person. We need to send out reminders and the zoom link to virtual attendees, and also want ...
2
votes
3answers
37 views

is there a possibility to add custom fields to “notes”

We want to structure the content in our "notes" by adding custom fields. We want to do this in notes because it is the only place where you can shield datafields form other users.
1
vote
1answer
10 views

Search custom field by name

if I want to get a value of a custom field, now I have to use custom_xx, like this: $result = civicrm_api3('Contact', 'getvalue', [ 'return' => "custom_11", 'id' => 123, ]); As ...
0
votes
1answer
18 views

Editing custom group settings

I'm trying to edit the settings for an existing custom fields group. When I make the changes and save it, I get this: Please correct the following errors in the form fields below: Custom group '...
0
votes
2answers
119 views

Why is the clear option missing on a custom field with radio options?

When a custom field with radio options is created it has sometimes a clear option (see below).. And sometimes it's not available like the color field. The first thought is that the reason is that the ...
1
vote
1answer
48 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 ...
1
vote
1answer
22 views

Export of custom multiple choice options to CSV files limited to 32 characters

A user is trying to export data from an advanced query on custom fields to a CSV file using the "Export contacts" action. This fails with a backtrace which is attached below. The error ...
1
vote
2answers
82 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
27 views

Voting Election

I am reviewing the Civic CRM Election component for Joomla. I have created some basic election information and nominees. I need to add Amendments for this election. I don't where I would add this. ...
8
votes
4answers
327 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 ...
1
vote
1answer
20 views

How to add a profile with a fieldset that accepts one or more entries for event registrations

I'm not sure that this is possible but here goes: I have a requirement to collect data from Event Registrants of University Programs that they have undertaken and the years of study they have ...
1
vote
2answers
50 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 ...
1
vote
1answer
94 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
1answer
16 views

Option Group vs Custom field

New install (civicrm 5.35.1) and I can't find this answer. We have 22,000 alumni that I've imported. One of the fields is cast year there are about 120 of these so I want to make an option group (it ...
1
vote
3answers
120 views

Issue field DEDUPE “0 Argument 1 passed to”

After upgrading to civicrm version 5.21 we detected a problem in one of the fields of the form linked to a custom profile. For some reason, every time you try to insert that data from the form in the ...
1
vote
1answer
20 views

Is it possible, using ACLs, for a group to have only 'create' access to contact custom data and another group to have 'edit'?

My user would like one group of users to be able to have only 'create' only access to a custom field set that will be in a contact's tab, and for another group to be able to have 'edit' access. I ...
2
votes
2answers
83 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? ...
1
vote
1answer
56 views

How can I delete a custom field (other than GUI)?

I had a custom field group with a disabled field. When I tried to delete the field (ID=59), the Warning window froze with CRM logo rotating. When I tried to enable the field, it gave Error about DB ...
0
votes
0answers
12 views

How to recreate civicrm_value table(s)?

I just had to restore a site and some of the civicrm_value (a.k.a. custom fields) tables were not part of the backup The groups / fields are still in the groups tables - how can I easily recreate the ...
2
votes
1answer
47 views

How would I expose weight for a custom select field to Drupal Views for sorting?

I have a custom select option field with about 35 options. I'd like to be able to sort the field in Drupal Views by weight instead of value or name. I looked around for the views integration in the ...
1
vote
1answer
28 views

File type custom field to only allow images

I have created a file type custom field and discovered that you can upload any type of file on the field so I want to restrict the custom field to only upload image files. Is it possible?
0
votes
1answer
31 views

Joomla 2 CiviCRM User Sync: synching Community Builder multi-value custom fields?

looking for some suggestions on best practice implementation for synching external data to CiviCRM custom data. I'm using the Joomla 2 CiviCRM User Sync plugin to sync my Joomla 3.9.24 user ...
0
votes
0answers
19 views

How can I create a checkbox for filtering contacts in report?

I'd like to filter out specific contacts from a (contribution) report, based on a manually enabled or disabled custom field. By default everyone should be included in the report, but if the checkbox ...
0
votes
1answer
23 views

Add custom field with multiple values to Contact Form 7 and Form Processor

I can't seem to make a custom field that allows multiple values work if more than one value is selected in Contact Form 7 via Form Processor. If one value is selected, everything works fine. If more ...
3
votes
2answers
58 views

Missing more menu options three dots/vertical ellipsis (⋮) within administration interfaces

I've created some custom data and fields that I now need to delete, but I don't see any options for deletion- only the option to add. Also, I'm unable to edit a custom data group once it's created. I'...
1
vote
1answer
29 views

Unable to Create New Contact Field

I'm currently setting up the CIVICRM platform, now at the stage of importing data I am unable to create new contact fields, I followed the instructions available to create custom fields however none ...
2
votes
3answers
93 views

Custom fields sometimes missing from profile, until flushing caches

On civicrm 5.20.1 under WordPress, we have added two custom fields to the Registration Info profile (gid=12). We've added that profile to the Online Registration config for one event. Now and then, ...
1
vote
0answers
32 views

Does Civi rename picture files?

I have a situation where authorized users can upload a scan of their passports. While this doesn't happen often, there are times where various users will upload "Passport.jpg" as necessary. ...
2
votes
2answers
33 views

Custom field set - how to move Delete button (or prevent deletes)?

Users are 'accidentally' deleting custom field sets because (so they claim) the 'Edit' button and the 'Delete' button are too close together after clicking the custom field set tab. So is it possible ...
1
vote
1answer
116 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 ...
1
vote
1answer
16 views

Change count in Custom Tab with table according to filtered data

I have filtered the data being shown in a custom group tab on contact page but I'm struggling on how to change the count being shown next to the tab name. Could anyone help me how? thanks
0
votes
1answer
19 views

Why does my 'Delete Case' action in the case search report not work?

When I use the 'Find Cases' report (from the Case menu), and I select [Delete Cases] it does nothing. And it looks de different. Like this: CiviCRM version 5.34.alpha1 on Drupal: And besides that, ...
1
vote
1answer
17 views

CiviContribute/CiviCRM overrides content entered into a custom field each time a donation is made

Hopefully I can explain this so it makes sense. :) We have customers that have donation pages (and events) that they use custom fields with, but when someone completes the custom field once, it does ...
3
votes
2answers
80 views

How to create file type custom data with API?

I was wondering how to do that. Didn't find it for that type of custom data. If possible I want to do it via API, if not possible i'll try with CRM_Core files.

1
2 3 4 5
11