I want the user to get the form for submitting genus & species (which you know only too well by now) and type "p" in the options field, which moves the list chooser til the "P" section; "h" which leaves only options beginning with "Ph", "a" which jumps (probably) to "Phaseolus". I know the form will jump to the initial letter anyway, but it would be much easier if the user could keep on typing and narrow it down even more.
The 2 JavaScripts I've found/been offered do this (which is common for interactive fields on-line, but new territory for me) but I can't see how to modify them so instead of including all the options in the code, I use the php WHILE array. An example from one of the scripts:
<select onkeyup="sel(event,this)">
<option selected>--select--</option>
<option>aaa</option>
<option>aba</option>
"List chooser" is what the original JS script bank called this function...
Shall I send a complete JS code? I'm sure it's simple but can't figure it out from scratch.