Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
As autocomplete still works when used in a Topic, it does not work when the type autocomplete is used in a Form. The Error "Extensions/Archived.AutoCompletePlugin Error: does not exist" appears instead of an imput field.
I would perform a square-dance for a solution or a hint. Or at least give a beer
Friendly,
--
EnrikGuenter - 02 Dec 2010
AutoComplete is such an important feature - why is this Addon not updated anymore? Is there a build-in autocomplete i'm not aware of or a replacement of some kind?
--
EnrikGuenter - 03 Dec 2010
Unfortunately most of my Foswiki work is done in my free time. I will try to look at this over the weekend.
Is this a Windows server? Did the plugin work on the same server in an older version of Foswiki? Also, is there anything in the logs that might help?
Thanks.
--
AndrewJones - 03 Dec 2010
Yes, It's a windows server.
The
AutoComplete in a form has never been tested by me on an older version of foswiki. The plugin has been in use in a topic (
http://foswiki.org/Support/Question688) for quite a while now and works well (except a browser-independent script-error related to the
OnClick handler - i can specify the error on monday) . But i found no way to make the plugin work in a form.
--
EnrikGuenter - 04 Dec 2010
I have tested the plugin with the latest version of Foswiki and it seems to work fine for me in a form.
I have uploaded an example of using the plugin in a form in a new release of the plugin. Could you please download the latest version from
Extensions/Archived.AutoCompletePlugin, then go to
Sandbox.AutoCompletePluginFormExample and see if the auto complete is working fine in that form? If it is, then its a problem with how you have defined your form, and not the plugin.
--
AndrewJones - 05 Dec 2010
Works. Thank you very much. I'm really really sorry and will take more care and time checking my syntax before posting!
As a suggestion for future release: A distinct or unique option for the result box would be good.
For Example: I'm using the
AutoComplete to complete the names of already once entered custormers. For confort and to prevent miss-spelling. Works well, but as there is no option in varSeach for Distinct (or do i miss something?), some customers are in the result-box of autocolplete like a gazillion times which is rather irritating. I know, i can solve this by at the level of the inputdata (I'm using 2 nested
ForEach statements - is there a better option?). But i think it might be a good option for autocomplete anyway.
--
EnrikGuenter - 06 Dec 2010
Ok, glad you got it working.
To select unique values only, you could use the
FilterPlugin's
FORMATLIST to do this. I can't see any way in
SEARCH to do it.
It would be a good enhancement for the
AutoCompletePlugin, but as always its finding the time... I created
a task for this anyway. Hopefully someone will do it one day
P.S - looking forward to your square-dance
--
AndrewJones - 06 Dec 2010
I will go on and train hard for that so you get a really nice performance!
But for now you got a
VirtualBeer !
--
EnrikGuenter - 08 Dec 2010
Thanks, my first
VirtualBeer
--
AndrewJones - 08 Dec 2010