Edit the Query Combo Box Simple Search Form

:book: This guide explains how to edit and add additional fields to the Query Combobox search form. It uses an example of adding the latitude1 and longitude1 fields to the Locality search form.

  1. Download a copy of the search.views.xml file from the Specify GitHub repostiory:

    https://raw.githubusercontent.com/specify/specify6/master/config/backstop/search.views.xml

  2. Go to the App Resources panel.

  3. At a level of your choosing, click :plus_: Add Resource

  4. Select the :data_entry_: Form Definitions resource type:

  5. Press New and set name to search.views.xml:

  6. Now click Load File and select the downloaded search.views.xml file downloaded in step 1.

    Now click Save

  7. Now we can begin making edits to the search view definitions.

    Select the table that corresponds with the search form you wish to modify.

    For this example, I’m editing the Locality search form definition.

  8. Add any fields that you would like following the same rules and logic established for other form definitions.

    [!Important]
    If you have not already, read this first: Editing Forms in Specify

    In this case, I added latitude1 and longitude1 as searchable fields on this form.

    Once this is complete, click Save.

  9. Go to search using the query combo box!

    Updated Locality Search form: