Skip to main content
Side panel
MM
Home
More
English (en)
Deutsch (de)
English (en)
Español - Internacional (es)
Français (fr)
日本語 (ja)
Log in
MM
Home
This illustrates how the Moodle autocomplete form element can be used. The sample data is alpha,bravo,charlie etc. The source can be found here
https://github.com/marcusgreen/moodle-local_autocomplete2
The documentation for the autocomplete element can be found at
https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#autocomplete
Search
alpha
bravo
charlie
delta
zebra
options = array ( 'multiple' => false, 'tags' => false, 'placeholder' => '', 'casesensitive' => '', 'noselectionstring' => '', 'showsuggestions' => true, )
multiple
tags
casesensitive
showsuggestions
searchableselector
placeholder
noselectionstring
Press the Go button to reset the configurations