Questions tagged [custom-fields]
Questions about custom fields in CiviCRM.
648
questions
1
vote
0
answers
17
views
How can I commit civicrm configs to git? [duplicate]
I am exploring civicrm and am trying to set up a prod, staging, dev environment where by I create and test custom fields in dev and deploy them to prod. What is the best way to do this?
I cam using ...
2
votes
0
answers
60
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 ...
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 ...
0
votes
1
answer
93
views
Custom fields not showing in import and export filter
I have two sets of custom fields related to two sub-types of the same type (organization). Both profiles are active and I can see the custom fields in the contact summaries and in the advance search ...
2
votes
1
answer
67
views
import mapping dont save for custom fields on contact subtypes
As the title.
If I create custom field set against a contact subtype, then import fields from a csv (saving the mapping for later use), none of the mapped fields are saved for the custom fieldset.
i....
0
votes
1
answer
74
views
I have created a custom field but only admin users can see it
Have created an inline custom field. Only admin staff can see it. All users should be able to see the view.
3
votes
1
answer
38
views
Client Database
It looks like this system has all the functions I need for Donor Management and Fundraising. Does the system also have the capability to house Client Data. For example, we work with families. For ...
1
vote
1
answer
53
views
Custom fields in webform membership renewal
I'm starting out to create a CiviCRM system under Drupal for managing the memberships of a Photobiology Society. I have already imported contacts, organizations, memberships and contributions from the ...
3
votes
2
answers
89
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 ...
2
votes
2
answers
66
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 ...
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. ...
3
votes
2
answers
108
views
Can I report data from a disabled custom field or option?
I'd like to disable some custom field fields, because we no longer want users to enter that data. But then I can no longer see the field in report filters. Is there another way I can get that data out ...
1
vote
1
answer
54
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 ...
0
votes
1
answer
89
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 ...
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 ...
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 ...
2
votes
1
answer
35
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 ...
0
votes
1
answer
60
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 ...
1
vote
1
answer
54
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
5
votes
3
answers
120
views
How to reuse Preferred language select?
There is the Preferred language field in Communication Preferences which allows to choose the contact's preferred language.
However when I try to create custom fields for a contact's second, third ...
1
vote
2
answers
65
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 ...
0
votes
0
answers
32
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?
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
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 / ...
5
votes
1
answer
113
views
new event From Template does not copy custom fields
On the demo site - http://wpmaster.demo.civicrm.org/wp-admin/ I have created a new set of custom fields for Events - "Events custom fields" with one text field - "test1".
I have added value "tst" for ...
1
vote
1
answer
150
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 ...
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 ...
0
votes
1
answer
86
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 ...
3
votes
1
answer
167
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 ...
1
vote
2
answers
46
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
2
answers
51
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
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 ...
1
vote
2
answers
172
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
1
answer
42
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 ...
2
votes
1
answer
101
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 ...
0
votes
1
answer
83
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
2
answers
220
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
1
answer
69
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
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'...
1
vote
1
answer
34
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
1
answer
62
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
1
answer
54
views
Hiding Fields or Disabling Them?
Can you disable or hide fields in the Individual window?
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 ...
0
votes
1
answer
24
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, ...
3
votes
0
answers
22
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
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?
2
votes
1
answer
68
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
1
answer
37
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
0
answers
34
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
3
answers
290
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 ...