Minimum number of characters required to start a search. System default is 0 (no minimum restriction).
Signature:
Parameters:
- $minimumInputLength: Minimum input length
Minimum number of characters required to start a search. System default is 0 (no minimum restriction).
Signature:
Parameters:
Maximum number of characters that can be entered to start a search. System default is 10 characters.
Signature:
Parameters:
The PHP Autocomplete can be attached an existing HTML Select or an hidden input field.When attached to a Select tag, pass “SELECT” to display() method; or “INPUT” when attached to a hidden Input field. The default value value is “INPUT” when left it blank. e.g.
So when to use SELECT or INPUT? If you want to transform an existing HTML Select tag into auto-complete control, use “SELECT”; otherwise, use “INPUT” referencing to an input type=’hidden’ tag. In order to take advantage of custom data, use “INPUT”, otherwise data is parsed from Select’s option tags.