Skip to main content

Questions tagged [custom-fields]

Questions about custom fields in CiviCRM.

Filter by
Sorted by
Tagged with
3 votes
1 answer
159 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 ...
0 votes
1 answer
64 views

How can I prevent users editing custom fields for contacts not in their ACL group?

Using Wordpress 5.4.1 with Civi 5.24.3. We have a smart group used for ACL which prevents the core "Edit" button being shown on the contact summary. There is also an ACL entry for a group of ...
0 votes
0 answers
16 views

Setting contribution custom fields during online event registration

I have a custom field set that is tied to Contributions. Most of the custom fields have default values. On my standard Contribution pages, I include the custom fields in a profile, and then I use ...
0 votes
1 answer
79 views

Custom Fields - Tab with table

I defined some custom fields with multiple records. The records are not shown in the data-table. Open tab in new Window produces an error : DataTables warning: table id=records-4 - Invalid JSON ...
2 votes
2 answers
78 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 ...
1 vote
0 answers
24 views

How to Restrict Past Dates and Set Conditions on Start Date & End Date in Form Builder?

I'm using the CiviCRM form builder to create a form, and I need help with setting conditions on the date fields, currently I’m able to select a start date that is before the current date, I want to ...
0 votes
1 answer
70 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
0 votes
1 answer
35 views

Editing custom group settings

I'm trying to edit the settings for an existing custom fields group. When I make the changes and save it, I get this: Please correct the following errors in the form fields below: Custom group '...
1 vote
1 answer
74 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
1 answer
49 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
2 answers
96 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
1 answer
49 views

CiviCRM Events approval process

I am trying to configure CiviCRM 5.73.2 for a non-profit organisation that helps children with bereavement. They run camps which children can sign up for and I have configured them as events. They ...
1 vote
1 answer
130 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
1 answer
31 views

One to N relationships to custom data

Is it currently possible to allow users to submit custom data multiple times and store each submission separately? I've tried a few things with no success. Searching suggests this has come up before ...
1 vote
3 answers
149 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
1 answer
58 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
2 answers
53 views

How to add Contact and Case custom fields to an Activity report?

Awhile back, I have made a copy of the the CRM/Report/Form/Activity.php, placed it under custom_php and added additional custom Contact and Case fields to the report by updating protected $...
2 votes
1 answer
120 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 ...
0 votes
1 answer
392 views

Add custom field with multiple values to Contact Form 7 and Form Processor

I can't seem to make a custom field that allows multiple values work if more than one value is selected in Contact Form 7 via Form Processor. If one value is selected, everything works fine. If more ...
1 vote
1 answer
36 views

Custom field set with multiple values does NOT save more than one value

I have an issue on v5.73.4 and could reproduce on CiviCRM Drupal Sandbox site. I create a custom field set containing two select list fields (Committees and function in committee). Assign the custom ...
0 votes
1 answer
88 views

Error when trying to delete custom fields

I'm not sure if it's a bug but when I try to delete a custom field it shows me a loading screen that never finishes. Additionally if I enable this custom data set for the contact and if I need to see ...
1 vote
1 answer
35 views

Civievent 5.73.2 register participant is different from online registration

I have an online registration with a profile that has the participant role field and custom participant fields that depend on the chosen participant role. When I use the register participant link to ...
3 votes
1 answer
92 views

Attachment not saved for Contribution

We have a custom field of type file for a contribution. We use this field to store invoices for payment. After we did the CiviCRM upgrade to 5.73.1, the field stopped saving the file. We upgraded ...
1 vote
0 answers
16 views

Contribution: How to create membership with contribution?

I have tried to created a profil with field that are coming from different data group but it's telling me that I can't mix the data group ''organisation'' and ''contact''. So I have decide to create ...
2 votes
1 answer
25 views

Modifying advanced search query based on custom fields

I have got a multi-select autocomplete-select custom field that I am trying to use with advanced search. It works however I would like to optimize/make some adjustments to fit my needs better: is ...
1 vote
0 answers
29 views

Unordered radiobutton options in Form-Builder

I'm working on a long form with "radio-button" type options and conditional rules to display the options. All good with this. The problem is that when I have created a new container with the ...
1 vote
1 answer
35 views

How can I implement a select-or-other widget over a plain text field?

I have a field which normally expects a value selected from a managed list (e.g. a list of courses, a list of colleges). The client would like the visitor to be prompted with one of the managed list ...
0 votes
0 answers
25 views

Exception when adding case type to custom field set

I have a custom field set that is used for cases of a certain case type. Adding a second case type brings up the following popup after saving: Warning: You have chosen to remove one or more subtypes. ...
0 votes
0 answers
22 views

Some problems with the configuration of the "Profile Conditionals" extension

I've created a profile to register new contacts from this page: https://crm.ingenium.org.mx/solicitud-de-admision/ The ID of this Profile is "18". So, this profile uses some fields from a ...
2 votes
1 answer
66 views

Conditionally link radio options to other questions?

I've created a public profile with some custom fields. This is the page in question: https://crm.ingenium.org.mx/solicitud-de-admision/. I would like to link the radio button options of the last ...
3 votes
1 answer
28 views

How to get a feedback statistic using civicrm custom field?

I have created a set of custom fields with 5 questions. It has 5 radio button rating 1 to 5. Then the questions were used in a profile to receive feedback from customers for the services they are ...
0 votes
2 answers
51 views

Custom fields for event are not saving data

I want to use two custom fields for an event named Friend Day. One field is a dropdown the other is a Contact Reference. I created a set of custom fields to be used for Participants where Event Name = ...
0 votes
0 answers
26 views

Custom Fields drop-down options based on selection in another drop-down?

When I create a Custom Field drop-down, it possible to have a second custom drop-down that the selctions are populated based on the selection of the first drop-down? EXAMPLE: If Drop-down A has no ...
2 votes
1 answer
76 views

Can I modify the Field Label name once the custom field has existing records?

Can I modify the Custom Field Label Name once the custom field has existing records? Will it cause any errors in the database, or are there any concerns that I should be aware of?
0 votes
1 answer
18 views

Profile on contribution page doesn't show membership custom fields

On a very simple Drupal 10.1 + CiviCRM 5.69.2 site. Add a custom fieldset for memberships (e.g. with a simple text field). Include the custom field from that fieldset in a profile. That field does not ...
3 votes
2 answers
31 views

Print custom field group from multiple records

Currently we have a group of custom fields "Date" and "Medical Note" that are displayed in the table tab and that allow multiple records. We need all these fields to be printable ...
1 vote
1 answer
47 views

Adding Custom Fields to Open Case Screen

I have created a custom data set of items to open a case that I was hoping would show in the new case screen: But these fields are not showing up in the open case area nor are they showing in the ...
0 votes
0 answers
18 views

Block "edit" after filling a group of custom fields?

Custom fields can be assigned to Contacts, Campaigns, Activities, etc. and these custom fields can be filled with information and edited. In our organization we believe it is important to be able to ...
2 votes
1 answer
30 views

Copy the contents of Custom Field to external_identfier field for all contacts

Loving civicrm, just getting to grips with it. I've imported a load of contacts but I've made a rookie error and instead of importing my unique ID number for each contact into the 'external_identifier'...
0 votes
0 answers
34 views

Allow multiple values in custom fields for activities?

It is of utmost importance to our organization to allow multiple registrations in a custom field specifically for new activities. It seems that custom field groups that allow multiple records are only ...
0 votes
1 answer
24 views

Block custom fields after a single registration?

We currently have a set of custom fields specifically for CiviCRM activities. We would like to enable the record lock feature after registering a single occasion so that the user cannot modify or ...
0 votes
0 answers
27 views

Which ACL is needed to view custom fields in search listings?

We want to display custom search results to our CRM users. We have enabled a default profile for search lists that combines core fields and custom fields. Admins see search results with all these ...
2 votes
1 answer
96 views

Search Preferences set a custom Profile quick search - autocomplete fields drop down stops working. This is Why!

pretty sure this is related to TypeError: array_flip(): New install, CiviCRM 5.55.2 on drupal9 php7.4 setup few custom fields for INDIVIDUAL in new group, fields searchable. Not View only! Create ...
1 vote
1 answer
60 views

CIVICRM: Custom Field that uses financial type id

I'm new to Civicrm PHP and extension development so I'm sorry if this is a dumb question. ^-^ I'm making an extension that creates a new custom field group, the custom field group is meant to ...
3 votes
3 answers
321 views

How do I create a SearchKit report that segments data based on a multi-valued custom field?

I have a custom field that allows users to select multiple options using a checkbox input. The custom field has: Option A Option B Option C ... The user can pick one or more of these, e.g. A+B or A+...
1 vote
1 answer
83 views

Custom Field Groups: "Tab with Table" display style missing

[Edited from original question] When editing a custom field group for Individuals that allows multiple records, the Display Style option changes from Tab with table to Inline. Seems like a regression/...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
28 views

Add a Financial Type to Existing Custom Field Profile

Years ago, when we started using CiviCRM, I added a custom field to the New Contribution dialog on the backend of Civi (we're using it on WordPress, if that makes any difference). I'm not asking about ...
0 votes
0 answers
57 views

Custom Data not appearing on Event Info and Settings form

We recently migrated our Drupal/CiviCRM site to a new server, and the oddest thing: on the Event Info and Settings form, no custom field data is appearing on the form. Some details: The data is in ...
2 votes
3 answers
66 views

Can I change settings for a custom field set for participants without losing any data?

I have a custom field set that is currently configured to be used for participants. When it was set up it was configured to be targeted to just a couple of events. We now want to make this field set ...

1
2 3 4 5
14