Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

89 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
28 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....
3
votes
0answers
392 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 ...
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 ...
3
votes
0answers
86 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
0answers
52 views

What options does CiviCRM provide for equipment management?

I am just starting to configure a CiviCRM implementation for my organization. As well as managing membership, we would also like to use it to manage equipment (boats being the top priority). Option ...
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 ...
2
votes
0answers
44 views

Use Civicrm with Callhub

I would like to use Civicrm in phone banking. I have managed to link Callhub and Civi together so that a phone call is recorded against a user's name. You can also record some of the call information ...
2
votes
0answers
19 views

Events Registration - Custom field widths shown too wide on actual web page

CiviCRM 5.21.0 with Drupal 7 I set up an event registration and added some custom fields and set the width to be smaller than default (usually 20 or 30 wide). In the preview from the Registration ...
2
votes
0answers
39 views

How to change the date format for a mailing token for a custom date field

We have a date field, custom, set to be dd-mm-yyyy but when we add a token for that custom field in a mailing it comes out as yyyy-mm-dd hh:mm:ss How do we change this
2
votes
0answers
20 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 ...
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? ...
2
votes
0answers
29 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 ...
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 ...
2
votes
0answers
31 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 ...
2
votes
0answers
44 views

Can an Activity input profile “remember” details from the previous Activity submitted?

Newbie here, powered by CiviCRM 4.7.28 on WordPress. The closest prior thread I could find is here. The use case is high school students self-reporting classes completed and corresponding grades. I ...
2
votes
0answers
36 views

Change displayed value for customfield

I have a custom field of an individual that stores the ID of a group (as int). I would like to change the display of the field to show the actual name of the group instead of the ID (same as contact ...
2
votes
0answers
47 views

Include more than one profile at top of event page

I have a website with CMS Drupal 7.54 and CiviCRM version 4.7.16. On the CiviCRM event configuration page under "online registration" tab, there are two fields available to include profiles (Include ...
2
votes
0answers
46 views

crmEntityRef Populated with Custom Fields from a Custom Group

I would like to use crmEntityRef to load all the fields from a custom group I have created. I would like to have the list show the label for the field, and when selected it would return the id. The ...
2
votes
0answers
35 views

Mailing labels with multiple relationships

Hoping for a little advice on the best way to address the following situation. We have individuals with relationships to organizations. Each individual can have multiple relationships to ...
2
votes
0answers
21 views

Localised custom fields

Is is possible to create localised custom fields? For Swiss client I need to set up a custom field with the contact's profession. There are three official languages in Switzerland and we would like to ...
2
votes
0answers
57 views

Inserting custom field to core field group

https://civicrm.org/blogs/lobo/extending-contact-demographic-information-custom-group shows some hints how I can add custom fields to the core demographics, but that was for civicrm 3.1. I gave it a ...
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....
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
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 ...
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
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. ...
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
0answers
11 views

Is is possible to hide GiftAid details if someone selects 'no'?

We're using the GiftAid plugin which is great. However, if someone declines to use GiftAid the fields are still present and compulsory to fill in. Is there any way to make them conditional on ...
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 ...
1
vote
0answers
18 views

How to turn off multiple-record custom field set

I created a custom field set and initially checked the box "Does this Custom Field Set allow multiple records?". I would prefer to convert this field set back to a single record. I checked ...
1
vote
0answers
21 views

How to store (and import) historical data (date, integer#1, integer #2, etc.)

I want to store data (date, integer #1, integer #2, integer #3) for an organizational contact in CiviCRM. Each month a new record record with the same format will be created for each contact, but with ...
1
vote
0answers
6 views

Api4 does not delete values table when deleting a Custom Group

I'm using Api4 to remove a Custom Group upon uninstalling an extension. The api call looks like \Civi\Api4\CustomGroup::delete() ->addWhere('id', '=', $idOfCustomGroup) ->execute(); The ...
1
vote
0answers
17 views

Custom Fields are no longer appearing on profiles after update to 5.25.0

I have just updated my Joomla 3.19.8 site from version 5.18.12 to version 5.25.0, and my profile views are no longer including any custom fields. No custom fields appear: - on any profiles displayed ...
1
vote
0answers
15 views

Can I use a membership custom field in a renewal confirmation e-mail

I use a custom field in my membership records (Reference code). This custom field {membership.custom_8} i can use in e-mail reminders of the type membership that i use to warn members about an ...
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
0answers
41 views

Custom field in event - for the message templates

In the Event Information I have new field. There, the organizer can be selected from the CRM. For the message templates I would like to use this information. If the field is filled, the First name / ...
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
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
0answers
26 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 ...
1
vote
0answers
43 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 ...
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
0answers
48 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
0answers
1k 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
23 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 ...
1
vote
0answers
50 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 ...
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!.
1
vote
0answers
62 views

Printing Custom Field Table in Contacts

in general, I am not using the print icon from CiviCRM because (1) it doesn't print nicely and (2) when printing a contact page with a custom field tab, the icon prints the summary page. Therefore, ...
1
vote
0answers
29 views

CiviCRM Event Email Receipt Displays Custom Field Attributes Rather Than Values

A similar question has been answered in 2015, but it was not resolved: Contribution email receipt with custom fields shows array in template I'm having a similar issue. But instead of custom fields ...
1
vote
0answers
29 views

Unable to save multiple choice custom field

I'm new to CiviCRM and evaluating for our charity. I'm trying to create a multiple choice custom field but am unable to save it. I can do this OK on the 4.6 / Joomla demo site but not on 4.7.14 Joomla ...
1
vote
0answers
112 views

Custom Contribution Fields in Message Templates

I've been trying to get my custom contribution fields to be visible in my thank you/receipt message template and I think I am close but not quite there. I have enabled the CIVICRM_MAIL_SMARTY flag in ...