PHP Classes

Auto complete: Auto-complete text typed in a form input

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 7,194 All time: 268 This week: 57Up
Version License PHP version Categories
autocomplete 1.0GNU General Publi...5.0HTML, AJAX
Description 

Author

This package can be used to auto-complete text typed in a form input without page reloading.

It generates the HTML for a form with a text input and Javascript to perform an AJAX request to retrieve possible words that complete the text that the user has typed so far.

The auto-completion words are retrieved from a configurable text file. The words may also be read from an array session variable to make it faster.

The completion words are displayed in menu below the text input.

The form with text field width, the colors of the words in the menu and the word file delimiter are also configurable.

Picture of Dror Golan
Name: Dror Golan <contact>
Classes: 8 packages by
Country: Israel Israel
Innovation award
Innovation award
Nominee: 1x

Screenshots (1)  
  • auto_complete_snapshot
  Files folder image Files (6)  
File Role Description
Plain text file autoComplete.php.class Class Main Class
Plain text file dict.txt Data sample input text file
Plain text file find.php Aux. filter results according to input string
Plain text file sample.php Example Sample file
Plain text file test_doc.txt Lic. Sample 2 of input file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:7,194
This week:0
All time:268
This week:57Up
 User Ratings  
 
 All time
Utility:79%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2030