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%);
}
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 ...
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, ...
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 ...
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 ...
5
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 ...
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 ...
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 ...
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.
('...
4
votes
Accepted
Is there any way to embed a form created with FormBuilder in WordPress?
You can use shortcodes to embed afforms in a WordPress post or page
[civicrm component="afform" name="afformQuickAddOrganization"]
where afformQuickAddOrganization is the name of ...
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 ...
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 ...
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.
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.
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 ...
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 ...
3
votes
Creating a Search Kit Contact Summary Tab for activities, how do you only display activities of a specific activity type for the contact being viewed?
It sounds like you are trying to add a tab to the contact summary screen to show activities? The latest version of CiviCRM includes the Admin UI extension which has just such a search all ready for ...
3
votes
Accepted
What does "You have requested a non-existent service "afform_scanner" mean during an upgrade?
Yeah, the Upgrade has been completed and that error normally occurs when trying to rebuild the Cache.
Visit the extension page to check if there are pending patches
Visit the CiviCRM admin console to ...
3
votes
How can I use SearchKit and FormBuilder to show a table of matching contacts under Contact Summary by comparing custom field values?
SearchKit works by using the underlying data about how tables connect to each other. If that connection doesn't exist, SK can't join the tables.
I believe the underlying API supports joins on ...
3
votes
Form Builder: Create Contact and add to (static) group
Yes this feature was recently added and will be included with the upcoming (5.77) release.
2
votes
Custom (Non-CiviCRM) MySQL Tables in SearchKit and Afform?
There is a trick to implement this. In the example below, I will use it for running SearchKit queries that combine Contributions and Soft Credits, so we can answer questions like, "Who has given ...
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.
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/...
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 ...
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 ...
2
votes
Accepted
Is Authx really alpha?
Update: It's now marked as stable :)
https://github.com/civicrm/civicrm-core/pull/23601
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 ...
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 ...
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 ...
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-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
formbuilder × 107searchkit × 28
wordpress × 10
forms × 10
custom-fields × 5
civicase × 4
groups × 4
extension × 3
activities × 3
permissions × 3
relationships × 3
admin × 3
contact-layout-editor × 3
civimember × 2
contacts × 2
profile × 2
email × 2
upgrade × 2
search-results × 2
javascript × 2
core × 2
fields × 2
cache × 2
caldera-forms × 2
ui × 2