---
name: "Jifty::Action::Autocomplete"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Action::Autocomplete"
---

# Jifty::Action::Autocomplete(3pm)

An action for making autocompletion suggestions

## NAME

Jifty::Action::Autocomplete - An action for making autocompletion suggestions

## DESCRIPTION

A built-in Jifty::Action which returns suggested autocompletions for a given argument of an action. Generally this is called by Jifty's internals through `"/__jifty/autocomplete.xml"`.

This action gets its data to `"/__jifty/autocomplete.xml"` by filling in the `"completions"` of the "content" in Jifty::Result.

### arguments

The arguments for `"Autocomplete"` are:

- action

  The moniker of an action we want to pull a field to autocomplete from.

- argument

  The fully qualified name of the argument to `"action"` that we want to complete.

### take\_action

Find the submitted action in the Jifty::Request named by the `"action"` above, and ask it for autocompletion possibilities for the argument in question.

## SEE ALSO

Jifty::Action

## LICENSE

Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
