Directory search widget
Use this widget to add a Directory search to a Homepage.
Settings
| Field | Description | Required |
|---|---|---|
| Heading | Text field | No |
| Description | Text area | No |
| Directory | Select box showing list of online Directories | No |
Front end user display
The widget displays a keyword look-up for front end users. If there is a Google maps directory field a Postcode look-up field will also be displayed.

| Label | Description | Editable label |
|---|---|---|
| Heading | h2 heading with class widget__heading | Yes |
| Description | h2 heading with class summary | Yes |
| Search by keyword | Textbox for user to input keyword. | No |
| Search | Button with class button--secondary to submit | No |
| Enter your postcode | Textbox for user to input postcode. | No |
| Find | Button with class button--secondary to submit | No |
| Advanced search | Button with class button--primary to submit | No |
After submitting the form a page is displayed with a list of all records matching the search. If a Google maps field is used, the results will be shown within a 10 mile radius of the postcode.
The advanced search button takes uses to a keyword and postcode search with the option of selecting all categories or a top level category.
Using the advanced search with a postcode will also show the show search results on a map, if the Show search results on map setting within the Directory must be set to Yes.