# Script

The file name and path to a Lua script that you want to use to filter the suggestions returned by the TypeAhead action.

The Lua script that you create to filter results must contain a valid Lua function named `typeahead_filter` that accepts a string value and returns a Boolean value. QMS calls the Lua script once for each suggestion that the `TypeAhead` action returns. It passes the suggestion to the `typeahead_filter` function, and returns only suggestions for which the `typeahead_filter` function returns `True`.

For information about how to create a suitable Lua script, refer to the Query Manipulation Server Administration Guide.

Type: | String
Default: | None
Required: |
Configuration Section: | [TypeAhead]
Example: | `Script=filter_script.lua`
See Also: | TypeAhead

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm