Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro ACF: create search form with custom fields

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Massimiliano Paoletti
    #267742

    Hello
    i have created several custom fields with ACF.
    Is it possible to create a search form with each of those fields?
    Is there any example to start from?
    Thanks in advance

    Trevor Moderator
    #267751

    You should be able to access and search ACF fields. They are Post Meta field objects in the Form UI.

    Note that, with fields made by ACF, when selecting the meta key, note a ‘gotcha’ with ACF ….

    … it makes 3 meta keys per field, like this (in this example for a field named ‘land’):

    #1 _land
    #2 field_52f0fc4334f52
    #3 land

    In our Meta Key selection list, you need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2.

    The fields will only show in the list if you have actually entered data in those fields inside posts and saved them. To define them alone without doing that, they will not show up, as our plugin does not look at the Field Group definitions, but at the actual data stored in the Post Meta table.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.