8 votes
Accepted

Is there a way to freeze column headers in SearchKit?

You can add CSS in your theme file div.crm-search-display-table table thead tr { position: sticky; top: 42px; box-shadow: 0 2px 2px -1px rgb(0 0 0 / 40%); }
Pradeep Nayak's user avatar
6 votes

Can filter values be passed in via the URL to Form Builder Search Forms?

Yes, in the table display add a filter for the argument you want to allow to be passed in. Set the value to be read from the URL and specify the field tag you want to use. Then append #/?field=value ...
Aidan's user avatar
  • 13.5k
6 votes
Accepted

SearchKit configuration management

Your analysis is correct about where the data is stored: SearchKit stores searches and displays in the database Afform stores form layout and form config in .aff.html and .aff.json files, ...
Coleman's user avatar
  • 18.6k
5 votes

How can I place an "Add Record" button on a contact tab built with Search Kit?

There is no UI to do this, but you can use the Form Code Editor extension, which ships with CiviCRM. Go to Administer menu » System Settings » Extensions and enable the Form Code Editor extension. Go ...
Jon G - Megaphone Tech's user avatar
5 votes
Accepted

How to make a FormBuilder form visible to visitors? (not logged-in users)

I have an FB form that's submitted by anonymous users. The 'Permission' on the form's settings page is set to 'Generic - Allow all users (including anonymous)' and on each contact page 'Security' is ...
Andy Clark's user avatar
  • 4,835
5 votes

Linking a form to log as an activity on an individual's profile

Welcome to SE! From the FormBuilder main page, click the arrow next to New Submission Form and select Activity to create a new form. Click on the Activity 1 tab It should show Added by Select ...
Aidan's user avatar
  • 13.5k
4 votes
Accepted

Does Form Builder handle relationships?

Yes. Create a form and add an Individual, an Organization and a Relationship. On the Relationship tab, use the Values section: click 'Add value' and select 'Contact A' click in the search box and ...
Aidan's user avatar
  • 13.5k
4 votes
Accepted

Is it 'Search Kit', 'SearchKit', 'Search-Kit', 'search kit'? 'Form Builder', 'FormBuilder', 'Form-Builder', 'afform'?

We are standardising on camelcase format, so the preferred names are: SearchKit and FormBuilder References to these in the CiviCRM interface and documentation are being updated where necessary. ('...
Aidan's user avatar
  • 13.5k
3 votes

Event roles in Drupal webform

Drupal's Webform has a 'validation' component that can do things like this - e.g. as soon as a submission has been received with a specific value in that form element, it can be configured to prevent ...
Alan Dixon's user avatar
  • 6,841
3 votes
Accepted

FormBuilder submission and add to group

I'd create a "volunteer inquiry" activity type and configure the form to log that activity. The benefit is you know when they inquired, not just they are a volunteer. Yes, the group added ...
Andy Burns's user avatar
  • 3,681
3 votes

Cannot access Form Builder forms as anonymous user

The required permissions are specified in the FormBuilder config. Your screenshot shows "Permission: CiviCRM access CiviCRM backend API". Change that to be something more suitable for this ...
Aidan's user avatar
  • 13.5k
3 votes

Search Kit not working in Civicrm 5.52.0

I'm pleased to say that upgrading to CiviCRM 5.52.2 seems to have cured my problem and SearchKit has reappeared.
peterb's user avatar
  • 1,014
3 votes
Accepted

form builder: redirect to contact after creation

In the form settings section of any form, there’s now a ‘Post-Submit Page’ option - /civicrm/contact/view?reset=1&cid=[Individual1.0.id] Token was available in the drop down menu.
Anil's user avatar
  • 1,963
3 votes
Accepted

Conditionally link radio options to other questions?

If you are needing to stick with profiles which are now the "legacy / old-school" way to do forms, then you will need to utilize profile conditionals. At some point profiles will be set ...
Andy Burns's user avatar
  • 3,681
2 votes
Accepted

Display number of records returned in a query

Yes, you can do that. In the display that you create for the search there's a field at the top - before the list of items to be shown in the search - called 'Show Count' - just check that. This is ...
Andy Clark's user avatar
  • 4,835
2 votes
Accepted

Afform and Contact Layout Editor for contact summary

We found a solution that works for our needs. I created a List Display from SearchKit. Using Form Builder, I was able to use that List Display and create a new tab on the contact page. This gave us a ...
zach's user avatar
  • 315
2 votes

How do I set default values in afform?

Afform is still in beta so I expect this functionality to improve further, but currently it does support passing in an id via the url. It keys off the af-entity name property. So if you visit your ...
Coleman's user avatar
  • 18.6k
2 votes

Custom (Non-CiviCRM) MySQL Tables in SearchKit and Afform?

If you're creating your tables using https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-entity then they should be automatically available like the built-in entities I would think.
Demerit's user avatar
  • 22.9k
2 votes

Afform status (Form Builder)

Welcome to SE! Currently Membership is not supported in Form Builder. A prerequisite for Form Builder is that the entity is supported in APIv4 - and it isn't yet. See https://lab.civicrm.org/dev/core/...
Aidan's user avatar
  • 13.5k
2 votes
Accepted

Is Authx really alpha?

Update: It's now marked as stable :) https://github.com/civicrm/civicrm-core/pull/23601
Coleman's user avatar
  • 18.6k
2 votes
Accepted

Make Member Directory with SearchKit / FormBuilder which does not show all members

There should be an option available on the search kit display setting to auto-run or use the Search button. Selecting 'Auto-run' should load results automatically but with button the user will need to ...
Pradeep Nayak's user avatar
2 votes
Accepted

How can I use Address Proximity as a search critieria in FormBuilder?

The proximity filter uses a specialized field type which hadn't been defined in Afform. I've posted a Pull-Request to fix this: https://github.com/civicrm/civicrm-core/pull/27631 (should be included ...
Coleman's user avatar
  • 18.6k
2 votes

FormBuilder( BackDrop CMS) ... how to add fields?

Welcome to SE! You should be able to drag the custom fields from the left on to the form and then set relevant options on them. There are some docs at https://docs.civicrm.org/user/en/latest/the-user-...
Aidan's user avatar
  • 13.5k
2 votes
Accepted

Search Kit with a Form to search for all contributions greater than X Contribution ID

Generally the filter options on the form are more limited than those configurable within a search. However, for your 'greater than' case you can achieve that as follows: In your form, drag '...
Aidan's user avatar
  • 13.5k
2 votes

Formbuilder relationships - Autofill several relationships

Well articulated question! I noticed in your screenshot that you have 2 child entities on the form. They are both being filled in the same way, so they both get the same result. Not what you want, but ...
Coleman's user avatar
  • 18.6k
2 votes
Accepted

Formbuilder relationships - Autofill several relationships

The answer of @Coleman above was perfect, I could even do more than expected. Detailed solution below. Tabs in the form : parents related children relationship Related children are autofilled as &...
stackexchange user's user avatar
2 votes

Participants vs Activities vs Cases for custom functionality

(keeping out of the 'to use FormBuilder or not' part of the question) If 1/ was an Activity, then Activity can be Assigned to the Educator by the Coordinator (which should/could trigger the email) If ...
petednz - fuzion's user avatar
  • 28.3k
2 votes

error (infinite loop ?) when using formbuilder + autofill + autocomplete existing user

That was indeed a bug in FormBuilder. Multiple bugs in fact. I've fixed them all in this PR: https://github.com/civicrm/civicrm-core/pull/27121 You can help by reviewing the PR, you'll find ...
Coleman's user avatar
  • 18.6k
2 votes

Code seen instead of Relationships 5.67.0 and 5.67.1

After disabling all extensions that were not included in 5.67.0 or 5.67.1, I uninstalled, forcibly removed all related directories, and reinstalled 5.67.1. This worked. Please note that the install ...
Charlie Wilder's user avatar
2 votes

Form Builder Not updaing details

I was experiencing a similar issue, the difference for me is I have a public facing form that allows non-logged in users to submit the form to create individuals in Civi. Located on the Form Settings ...
Bloodstripe's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible