I see that Submission forms allow arguments to be passed in via the URL. Can the same be done for filters on Search Forms?

Eg if I show Activities in a table that can be filtered by Assigned To contact, can I craft a URL that shows the Activities for the specified contact?

  • Not an answer, but I can't comment... Did you ever find a solution for passing variable through the URL? I'm trying to do the same thing, but I'm not clear on whether Form Builder is supposed to do that out of the box.
    – zip
    Oct 12, 2022 at 19:40

1 Answer 1


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 to the URL.

You can see an example of this in the core 'CiviCRM Administration UI' extension.

The table configuration includes:

enter image description here

This enables the Custom Field Group id to be specified in the URL like this: https://dmaster.demo.civicrm.org/civicrm/admin/custom/group/fields#/?gid=3

(As always with FormBuilder/SearchKit, these features may only work in a newer version than your system uses. This screenshot is from dmaster running 5.56.alpha1)

  • This worked great - I was missing the # and couldn't figure out what was wrong. Thank you!
    – guyiac
    Nov 8, 2022 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.