Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
1
vote
2answers
15 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 ...
2
votes
1answer
29 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 ...
1
vote
0answers
19 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 ...
3
votes
1answer
31 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
1answer
23 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
31 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 ...
0
votes
1answer
27 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
17 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 ...
1
vote
1answer
22 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
0answers
17 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
18 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' ...
0
votes
1answer
21 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
28 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
24 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
17 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 ...
6
votes
4answers
117 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 ...
1
vote
1answer
24 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 ...
0
votes
1answer
20 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
18 views

Custom Field: Multiple Contact References

Is it possible to configure custom field of type contact reference to store multiple contacts?
0
votes
1answer
24 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
2
votes
2answers
108 views

How can I refresh a custom data tab in the contact summary?

I want to store an email address (or phone or address) in a custom group when they are deleted. So if for contact John Doe the email address john.doe@example.org is deleted, it is stored in the custom ...
3
votes
1answer
25 views

facilitators viewing registration responses

We have co-facilitators for our instructional events who are not staff. We want them to be able to view the complete registration profile responses (i.e. 'registration info') prior to their event in ...
1
vote
0answers
36 views

Querying participant custom fields in CRM/Event/Form/Participant.tpl

I am trying to add a custom behaviour while editing a participant, so that based on several conditions of what the user had chosen as custom fields in the event's registration form, the confirmation ...
2
votes
0answers
57 views

Warning: htmlspecialchars() expects parameter 1 to be string, array given in …/civicrm/packages/HTML/Common.php on line 144

Has anyone else seen the above error under Joomla and CiviCRM 5.11.0 when running the Event Report: Attendee List? I've done a bit of troubleshooting and it appears it seems when a custom form value ...
1
vote
1answer
29 views

sorting states in state/province dropdown

Civi 5.11, WordPress 5.1.1 I work with an organization whose Contacts (of all types) are limited to 4 states in the US. (Available States/Provinces in the localization settings includes only the US.) ...
1
vote
2answers
34 views

Trying to create a custom field that works similar to “Contact is Deceased” function

One of the organizations we work with is defunct now and I'm trying to create a field to capture this info. It would be great to have similar functions as the Contact is Deceased button (ie, "...
1
vote
2answers
54 views

How to troubleshoot “Expected one CustomField but found 0” error?

When I try to open Contacts of some Smart Groups, CiviCRM gives me error: Expected one CustomField but found 0 All parent Smart Groups that include faulty Smart Groups are also rendering the same ...
0
votes
0answers
21 views

Can you use contribution fields on event registrations?

we have an event - we have custom fields for contributions that we would like filled out when people register. CiviEvent will not allow me to select a profile with contribution fields. How can I ...
1
vote
2answers
35 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
34 views

Validation radio custom fields on civicrm_validateForm hook does not work

I have a custom field on contact in radio type format, not required field. I'd like to set up custom error on this field by using hook_civicrm_validateForm when the field is null. // hook in ...
2
votes
1answer
54 views

CiviCRM report for Case activities listing Case data

I would like to generate an Activities report (eg upcoming scheduled activities) which includes case data (eg case ID, case Subject, case Role contacts, case custom fields) of the case to which each ...
1
vote
1answer
26 views

How can I add Option Group for custom data field in CiviCRM

I'm trying to create an option group for a custom data field. It needs to be a multi-select dropdown. How can I build in CiviCRM Eg <select> <optgroup label="Accommodations"> <...
1
vote
1answer
31 views

Why does API get participants return all custom fields together with the specified return field?

When I do this: $result = civicrm_api3('Participant', 'get', [ 'sequential' => 1, 'return' => ["custom_14"], 'event_id' => 3, ]); In the results I get the desired custom field, but I ...
1
vote
1answer
37 views

DB Error: No such table - custom fields

Below are log entires telling me what I know, but do not know how to resolve. In reformatting custom data set, via import and export via phpmyadmin (need to switch from text to number field type), I ...
1
vote
1answer
64 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 ...
3
votes
1answer
55 views

Custom Fields Table

I am having issues when working with Custom fields, that the CRM gets frozen, and have to restart everything. Today I noticed that the MySQL table log_civicrm_custom_field has nearly 140K rows, while ...
1
vote
1answer
33 views

Offline Contribution receipts does not contain custom fields information

Currently using CiviCRM 5.9.1 and drupal 7.63 Contribution receipts works as expected if the checkbox to send receipt is checked while creating offline contribution. Receipts for offline ...
2
votes
2answers
32 views

How do I set the display size for custom fields?

I have a profile that combines built-in fields with custom fields, both alphanumeric. The custom field displays shorter than the built-in fields which, when I examine the page source, are size="30". ...
2
votes
0answers
24 views

How to Implement Funds that Different Grants Belong to?

How would I go about implementing funds that different grants belong to? There would be annual funding rounds based on them. CiviGrant by itself doesn't provide this functionality. Two ways to ...
1
vote
2answers
22 views

How do you restore contacts that have a deleted custom contact type?

I am getting an error Invalid Filter error when trying to open a contact that was configured with a contact type that has since been deleted. The contacts are returned in the search but I am unable to ...
2
votes
2answers
28 views

What is the public flag for on custom Field sets?

What is the public flag for on custom Field sets? It seems that even if a field is marked as public, it will not show up for anonymous users on a profile unless I give anonymous users the "access all ...
2
votes
2answers
23 views

Change 'Used for' contact type of custom fields

I have custom field group set as used for 'individual' but I want to change it to limit it to a contact subtype. What is the best way to achieve this - I could create a new field group and copy data ...
1
vote
3answers
37 views

Is is possible to restrict visibility of custom data sets?

Current install - WP5.0 / Civi 5.7.2 I'm just thinking through our Safeguarding / Child Protection process. We don't have any issues, but we're legally obliged to have a process. And I'd rather set ...
3
votes
1answer
29 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 ...
2
votes
2answers
30 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
45 views

How to retrieve custom field image files?

How can I retrieve images uploaded in custom field sets for contacts? Could you get a URL for them the same way you can for the contact "image_url" in the API? When I look up the custom field for the ...
3
votes
0answers
17 views

Communication Styles

How to define "informal" or "formal" communication style? That is, how to link the informal (1) email and (2) postal greetings, and (3) address layout to the informal style, idem for the formal style....
4
votes
2answers
74 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) ...
2
votes
2answers
46 views

Current Employer style field for a custom field

I have been asked to add some custom fields to the default CiviCRM Interface that bahave like the current employer field. That is to say, my users want to create certain relationships and have them ...