Search Field for Gravity Forms

Description

A custom field for Gravity Forms that will search any selected post types as the user types into the field and show the results below the field. Set which post types, how many results, and customize the display format of the results. Lots of unique CSS classes included for full custom styling!

This plugin was created as a way to help customers find documentation articles before submitting a support ticket. The goal is to reduce the number of support tickets submitted by helping customers find and answer themselves. Maybe you can find other uses as well!

Documentation

Screenshots

  • Field settings
  • Sample form with search field showing results

Installation

You must have Gravity Forms installed first!

  1. Upload and activate the plugin
  2. Find the new “Search” field when adding/editing a form and add it to your form
  3. Customize the field settings

Reviews

Gulan 16, 2021
This plugin works perfectly. I was looking for a solution like this on the gravity form, but I couldn't find it on the web. I'm confident that help tickets can be sent less often by customers. Thank you very much. Suggested fix: I'm using v0.2. When you add a one-line text field in the management screen, the same field option as the search field, that is, "Select Custom Post Type (s)" is displayed. Searching in the front end of a one-line text field doesn't work, so I think it's better to remove this option.
Read all 1 review

Contributors & Developers

“Search Field for Gravity Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Ready for full 1.0 status!

0.7.1

  • Fix – Change how ‘gravityforms_search_no_results’ gets sanitized before output to allow HTML

0.7

  • Add – filter ‘gravityforms_search_no_results’ to customize the “No results” text

0.6.1

  • Change – Only check for typing on ‘keyup’, not ‘change’ as it resulted in redoing search on click outside input

0.6

  • Update – Better loading spinner that shows inside the form field

0.5

  • Fix – Fix issue getting post types

0.4

  • Add – Use esc_* functions more liberally

0.3

  • Fix – Search settings were showing on Text fields as well
  • Fix – Proper Text Domain

0.2

  • Fix – Add sanitization where missing

0.1

  • Initial release