Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

how to keep previous values of custom Membership fields upon renewal

Civi 5.15.1, WP 5.3.2 My organization provides low-cost farm plots to farmers. We use Civi purely back-end (no website exposure). Each farmer can have multiple plots, which we have implemented in ...
John Mark's user avatar
  • 159
3 votes
2 answers
92 views

How can I customize the default gear icon on a custom tab set?

Now that there are icons on all the tab sets (awesome, btw) - I'd like to change the standard gear icon that appears on any custom contact field sets that are set to display as a tab. I didn't see ...
RayWright's user avatar
  • 2,488
2 votes
2 answers
69 views

Sending organisation custom tokens to individual

I want to use CiviMail to bulk mail key individual contacts from member organisations and want to include tokens in their email to remind them of the information we currently hold on their ...
Helen's user avatar
  • 21
1 vote
1 answer
45 views

Expected import behavior when setting custom field to view only

Checking this option in a custom field View Only? Is this field set by PHP code (via a custom hook). This field will not be updated by CiviCRM. I had read that it would not update upon import. ...
Andy Burns's user avatar
  • 3,711
1 vote
1 answer
56 views

Custom emails automatically generated based on participants filling in drupal forms

Hi to all and thanks in advance. I'm on Drupal 7 and Civi 5.20.2. I have the CiviRules and EmailAPI (CiviCoOp) extensions as well as Mosaico. We have participants to our events that apply for ...
ArisK's user avatar
  • 123
1 vote
1 answer
19 views

Is it safe to remove INDEX keys for multi language installation?

We enabled multi language support in Civi 5.21.1 then tried to create a new custom field group with Select or Radio options. The error from the DB is below (***edit: This doesn't happen when adding ...
Darren's user avatar
  • 780
0 votes
1 answer
68 views

Data too long for column breaks export

The error is e.g. Data too long for column 'custom_194' at row 1 Our values are 1 character so we set the DB Field Length to 1. However, this makes exports of this same field fail. It is exporting ...
Andy Burns's user avatar
  • 3,711
2 votes
0 answers
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 ...
chesterakl's user avatar
2 votes
1 answer
36 views

Updating Custom Data Fieldset Settings via php my admin

I've got a site where custom data has been created for Particpant records. And the fieldsets have been made available for all event types. The site in question relies heavily on segmenting events by ...
Craig Almond's user avatar
  • 2,037
0 votes
1 answer
92 views

Searchable Custom Field doesn't appear in Quicksearch options list and is not a sort option in reports

I have 2 membership custom fields that are set as searchable. One field is integer the other is alphanumeric. Neither field appears in the Quicksearch options in Search Preferences. The custom fields ...
Crofter's user avatar
  • 69
1 vote
3 answers
151 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 ...
Ictadmin's user avatar
0 votes
1 answer
66 views

Unable to insert membership custom field in e-mail using Smarty

I created a custom field set and a custom field used for memberships. Now i would like to insert the data from the custom field into my e-mail template. So i tried to find the custom field id by going ...
Benn54's user avatar
  • 21
2 votes
1 answer
56 views

How to set input mask for a custom field

I want to record an identification number (only integer number) and it should only have 14 digits. I am thinking of something like this: '--- --- --- -----' Is it possible and how? regards, Guillaume
Guillaume Sorel's user avatar
0 votes
0 answers
35 views

Hide wordpress menu items based on civicrm contact fields?

Is there a way to hide a wordpress menu item based on custom fields in the civicrm contact record?
Brad's user avatar
  • 113
2 votes
0 answers
62 views

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

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
petednz - fuzion's user avatar
  • 28.7k
1 vote
0 answers
51 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 / ...
hosfe's user avatar
  • 23
0 votes
1 answer
92 views

Using fieldOptions with Custom Fields

I have a "Select list" within a Contribution Form. I want to populate the "Select List" with Custom Field values. I have created the Custom Group under Contacts, so i want to search all contacts and ...
Moe's user avatar
  • 521
0 votes
1 answer
35 views

How do you get contact_id in a custom form?

$contactId = CRM_Utils_Request::retrieve('cid', 'Positive'); $contactId = (int) $_GET['cid']; $contactId = $form->getVar('_contactID'); Are all possible solutions at different places, but none ...
Simon Walden's user avatar
1 vote
1 answer
182 views

Custom Field "File" Display Issue

I have a custom field "File" which for some reason is not displaying the file. However, it is being uploaded correctly. The functionality is working fine just the display looks corrupted and if i try ...
Moe's user avatar
  • 521
1 vote
2 answers
68 views

Fetch Node data from drupal into CiviCRM

I am interested to know if it is possible to fetch node data from Drupal into CiviCRM. Is there anyway to do this? My End Goal is to to populate a "select list" with node titles from drupal and ...
Moe's user avatar
  • 521
1 vote
2 answers
48 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 ...
Jeff Porten's user avatar
0 votes
1 answer
15 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 ...
ArisK's user avatar
  • 123
2 votes
2 answers
53 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 ...
Clement Leong's user avatar
0 votes
1 answer
93 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 (...
ArisK's user avatar
  • 123
1 vote
1 answer
52 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 ...
Moe's user avatar
  • 521
1 vote
2 answers
191 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() == ...
Moe's user avatar
  • 521
3 votes
1 answer
71 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
Moe's user avatar
  • 521
2 votes
1 answer
107 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 ...
Moe's user avatar
  • 521
2 votes
2 answers
237 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 ...
Kristine's user avatar
  • 1,193
1 vote
1 answer
37 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->...
Tapash's user avatar
  • 3,014
2 votes
1 answer
63 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 ...
Peter's user avatar
  • 21
1 vote
1 answer
63 views

Hiding Fields or Disabling Them?

Can you disable or hide fields in the Individual window?
Rob Benn-Frenette's user avatar
1 vote
1 answer
24 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 ...
Andrew West's user avatar
  • 2,054
0 votes
1 answer
26 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, ...
Clement Leong's user avatar
3 votes
0 answers
27 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 ...
Zenon's user avatar
  • 31
3 votes
1 answer
75 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?
Mohsin Amjed's user avatar
2 votes
1 answer
111 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 ...
Katy J's user avatar
  • 93
1 vote
2 answers
99 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 ...
Andrew Wasson's user avatar
2 votes
1 answer
75 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 ...
John Mark's user avatar
  • 159
1 vote
0 answers
41 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 ...
user3274610's user avatar
3 votes
1 answer
38 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, ...
Stacey's user avatar
  • 106
1 vote
1 answer
79 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 ...
Uta Herz's user avatar
0 votes
0 answers
46 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 ...
Ruth D's user avatar
  • 241
0 votes
1 answer
76 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 ...
bass's user avatar
  • 121
1 vote
1 answer
101 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 ...
Ahmed Ibrahim's user avatar
2 votes
2 answers
154 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 ...
Mehrnoosh's user avatar
0 votes
0 answers
58 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 ...
Cozy4907's user avatar
  • 487
2 votes
1 answer
55 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” ...
STEAMworks Learning Center's user avatar
0 votes
0 answers
54 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' ...
V Govinden's user avatar
1 vote
1 answer
39 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'...
nigelwhite's user avatar

1
3 4
5
6 7
14