Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

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

How to change the value of a custom radio button field programmatically?

I have a CiviCRM profile that hosts a custom field. The custom field is of type "Radio-Button" and hosts two options: What I'm trying to achieve is changing the values of each option programmatically ...
3
votes
1answer
60 views

Is it possible to add just a time as a custom data field for an event?

We want to show multiple dates for the event, each with its own start and stop time. Day 1 Start Time #1 Stop Time #1 Day 2 Start Time #2 Stop Time #2 But in custom data (Administer > ...
3
votes
1answer
124 views

How to prepopulate custom fields

I would like to prepopulate a set of custom fields (on an activity) with data about the contact it pertains to. (The data I want to pull in is in a set of custom fields on the contact). My idea was ...
3
votes
2answers
167 views

REST API - how to write new options for a custom field with select type?

Using the contact - getoptions method you can read the list of options for a custom field with select type. /civicrm/civicrm/extern/rest.php?entity=Contact&action=getoptions&api_key=userkey&...
3
votes
3answers
129 views

Custom File Field Filename Error

I have created some custom file fields so I can add some files (pdf, doc, zip etc) to each user profile. When I upload the files, everything works great. I the backend the file names are displayed ...
3
votes
1answer
230 views

Custom fields not displaying properly after 4.7.0 upgrade

Since upgrading to 4.7.0 I've noticed a problem with my custom fields (multiple-record, tab with table, and I have 4 multiple-record custom field sets per). When I click on the custom field tabs for ...
3
votes
1answer
48 views

Is it possible to change custom group/custom field Entity Scope from just individuals to individuals and households (or ANY)?

I have an existing field for the donor name to show in printed materials. It was set up just for Individuals. The Custom Group has only this one field in it. Several reports/profiles/templates already ...
3
votes
2answers
62 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.
3
votes
1answer
173 views

Example of adding multi-record custom fields to a contact via API

When I attach a multi-record custom field group to a profile for contribution pages, Civi only allows visitors to enter the fields once. I've read through jira a bit and see that the capability isn't ...
3
votes
1answer
34 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
18 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
48 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
3answers
139 views

Require non-custom fields?

Question: How do I require the first and last names on Individuals? I need to require some global fields in the CiviCRM backend GUI. Specifically, I need to require the First and Last name for ...
2
votes
1answer
56 views

What are the files and fields in CiviCRM?

An organization I volunteer for is considering this software solution. I need to see the files and fields in those files to see how they match to our current system. A brief description of the purpose ...
2
votes
3answers
192 views

Storing Personally Identifiable Information

Is anyone storing Personally Identifiable Information (PII), such as Social Security Numbers (SSN), in their database? How would I encrypt such a field in the database? I'm expecting that it would ...
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” ...
2
votes
2answers
117 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 ...
2
votes
2answers
35 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
1answer
154 views

How to create a custom field for a file upload, and make it private

We would like to create a custom field in CiviCRM for a file upload, and link it to the CiviCRM Webforms Integration module while at the same time keeping it "private" and is not publicly accessible. ...
2
votes
2answers
244 views

Add custom data field column to contribution tab

Is there a way to add additional fields in the contribution tab on a contacts record?
2
votes
2answers
198 views

How to set a custom country field using the API

Some fields that are stored as id references to other tables can be set by simply passing the value as an id, e.g. setting gender_id=Male works. I have a custom fieldset attached to contacts that ...
2
votes
2answers
332 views

field like “Current Employer” that creates new organization and relationship

Is there a way to create in a new custom field the functionality in an Individuals "Current Employer" field? For example, trying to create a generic "Organizational Affiliation"... How to create the ...
2
votes
2answers
108 views

Where do Custom Fields for Contributions appear?

I have created a Set of Custom Fields called "Tracking" to be used for any Contributions. The Custom Fields created in this set are called "Category" and "Job". However, I can't see these fields ...
2
votes
3answers
40 views

using CiviCRM like Access?

I am new to CiviCRM. Is it possible for me to use CiviCRM like MS Access? I really don't need all the fields CiviCRM is offering. All I need is the fields shown as below: First Name Last Name State ...
2
votes
1answer
310 views

Custom data fields not showing on event registration page

I setup a custom field to be used for Participant (Event Name) and it only shows when I choose to manually register someone, it DOES NOT show on the event registration page, is there a setting I'm ...
2
votes
1answer
132 views

Input in Memo/Rich Text Editor custom field results in error “There is a validation error with your HTML input”

When I try to submit an HTML link in a custom field of the type Memo/Rich Text Editor, in some cases I get the error message: There is a validation error with your HTML input. Your activity is a bit ...
2
votes
2answers
30 views

Search on custom 'Yes or No' fields appears broken in 4.6.6

I've just updated our dev civicrm installation from 4.5.4 to 4.6.6. Now, searches on custom fields of type 'Yes or No' are producing weird results. Eg, In a custom dataset for some specific ...
2
votes
1answer
22 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 ...
2
votes
2answers
48 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 ...
2
votes
1answer
45 views

Drupal Views Filtering on Subtype

I have an instance of drupal 7 installed… and it is storing its data in database A I have then installed CiviCRM… and it is storing its data in database B I have placed the information shown at sites/...
2
votes
1answer
108 views

How can I customise the presentation of custom field in events?

I want to have some additional data as part of my CiviCRM events, that is structured and available to Drupal Views, so I've added a couple of custom fields for Events, and I'm using those. On the ...
2
votes
1answer
36 views

Added some custom fields but it'snot coming in advanced search

I have 4- 5 custom fields in CIVI CRM but I am not getting it in advanced search. Please help me I want to search based on custom fields.
2
votes
1answer
45 views

Invalid Date with Contribution API and Custom Date Field

Using the API, I try to create a contribution record. One of my custom fields is a date field. If I set the date to more than 20 years or so past the current date, I get the following error: [...
2
votes
2answers
62 views

Using the answer in custom field (select) to auto fill other field

how would I get a custom field to automatically select from a list based on the answer given in a custom field where the answer has to be selected. Basically the user selects the Scottish local ...
2
votes
1answer
63 views

DB Error: IP address hard-wired with MySQL user?

I have a local windows "mirror" using XAMPP of my live Wordpress 4.7.2 + CiviCRM 4.7.14 setup. I wanted to use the windows version to test exactly how deduping worked using Contacts > "Find and Merge ...
2
votes
1answer
307 views

How to Add Image Field in CIVICRM

I am trying to add an Image as Custom field in Civicrm Contact, but the Image Field type is not in the Custom Field section. It has only Field type as File. How to apply Drupal Image styles for ...
2
votes
1answer
46 views

Dropdown Custom Field - Is this possible

We would like to have the ability to use a dropdown as one of the custom fields linked to an activity. This would enable us to search on this field without mis-spelling causing problems on the future. ...
2
votes
2answers
102 views

does CiviCRM have the capability to handle approx. 70 pieces of data per customer?

I am a contractor working for the Department of Tourism in Vanuatu and we are looking at purchasing CiviCRM. We are also in the process of developing our first ever comprehensive survey for the 1,000 ...
2
votes
2answers
137 views

Import multiple options in one field

I have a custom field for Individual contacts which can carry multiple values, i.e. 'Languages' can be 'English, German, Spanish, Greek'. An individual may speak 'English, German', another 'Spanish, ...
2
votes
1answer
88 views

Thousand separator for number field in “Tab with table” display

My custom field is a "number text" displayed in a tab with table. For example it's displayed 123456789.99 but I need thousand separators, I mean that I'd like to read 123,456,789.99 How can I add this ...
2
votes
2answers
216 views

Custom field set for custom entity

I want to create custom field set for my custom entity. I have Lead.xml and there: < class >Lead< /class > < name >civicrm_lead< /name > inside cg_extend_objects I put title:Lead, ...
2
votes
1answer
156 views

Multi-value fields in profiles - how to?

When I add a multi-value custom fields to a profile, Civi only allows visitors to enter the fields once - as a simple fields. How to configure custom fields and profile to get form with multi-field ...
2
votes
4answers
133 views

How to use auto-complete reference field in a profile?

I am currently using an auto-complete field to indicate which member is representing which organisation. When I preview the field, either in the personalized fields or in the profile I am using it in, ...
2
votes
1answer
41 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 ...
2
votes
2answers
30 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
1answer
29 views

How to disable possibility to enter past date in activities?

I have a custom field of type Date used for activities, even though i have set years prior to current date to 0, it still allows users to select past day and month of the current year. Is there any ...
2
votes
1answer
31 views

Visually group custom and standard fields on screen

For the activity type 'petition signed', I want to add a custom field 'event' next to the standard field 'location', because my organization wants to store information about the specific event where a ...
2
votes
1answer
85 views

Multiple values for custom fields in Activities?

Anyone has seen any custom implementation/extension of custom group multiple values for Activities? Since we are using Activities for many different scenarios, many times the requirement of having ...
2
votes
3answers
42 views

Sort Criteria for civiCRM custom in Drupal View

I created a drupal view to display contributor names. The view displays civicrm fields, both custom fields I have created and out-of-the-box civicrm fields. The contributors are displayed according ...
2
votes
1answer
222 views

ARCHIVE not enabled by default on MariaDB 10.1

The ARCHIVE storage engine is enabled by default on MariaDB 10.0, but no longer from 10.1. Therefore, you get a DB unknown error when CiviCRM tries to create a logging db table when logging is active ...