[[PageOutline(2-5,Contents,pullout)]] = Autocomplete feature for the ''keywords'' field = == Description == The !KeywordsSuggestPlugin provides an autocomplete function for the '''keywords''' ticket field. Optionally, it is possible to restrict the list of allowed keywords. The !KeywordSuggestPlugin uses the [http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ jQuery plugin: Autocomplete] for the javascript part. See also the LoomingCloudsPlugin. There is a patch provided in #4201 that allows this plugin to work well with the TagsPlugin. == Bugs/Feature Requests == Existing bugs and feature requests for KeywordSuggestPlugin are [report:9?COMPONENT=KeywordSuggestPlugin here]. If you have any issues, create a [/newticket?component=KeywordSuggestPlugin&owner=scratcher new ticket]. == Download and Source == Download the [download:keywordsuggestplugin zipped source], check out KeywordSuggestPlugin [/svn/keywordsuggestplugin using Subversion], or [source:keywordsuggestplugin browse the source] with Trac. == Example == [[br]][[br]] [[Image(autocomplete.png)]] [[br]] === Label can be the link to a wiki page === [[Image(keywords.png)]] == Configuration == Following section must be added to trac.ini configuration file: {{{ [keywordsuggest] keywords = tag1,tag2,tag3 mustmatch = True helppage = TicketKeywords helppage.newwindow = True matchcontains = True multipleseparator = ', ' }}} There are two parameters to configure: * '''keywords''' - specifies list of comma separated values available for input * '''mustmatch''' - optional, if specified, 'keywords' field accepts values from the '''keywords''' list only * '''helppage''' - optional, if specified, 'keywords' label will be turned into the link to wiki page * '''helppage.newwindow''' - optional, whether wiki page opened in new window or not * '''matchcontains''' - optional, whether keywords which matched not from the beginning must be included into list * '''multipleseparator''' - which character(s) is used as separator between keywords. Must be enclosed with quotas or other characters. If not specified, ', ' is used. == Recent Changes == [[ChangeLog(keywordsuggestplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:scratcher] [[BR]] '''Maintainer:''' [wiki:scratcher] [[BR]] '''Contributors:'''