J
|
Jane 12/7/2006 |
Hi, |
M
|
markdorminy author 12/7/2006 |
Sure... I have a php routine that preloads an array of names and then a javascript routine that does partial name matching. Adding this as an after-the-fact routine was easy in 3.0, but with all the new templates and compiled templates and smarty functions, I have no idea how to do this in 3.1... and the user base is steadily knocking on my door for it. |
G
|
GeddyLee 12/7/2006 |
Sure... I have a php routine that preloads an array of names and then a javascript routine that does partial name matching. Adding this as an after-the-fact routine was easy in 3.0, but with all the new templates and compiled templates and smarty functions, I have no idea how to do this in 3.1... and the user base is steadily knocking on my door for it. Thanks!!! MD
|
M
|
markdorminy author 12/12/2006 |
I don't think that will work, actually, but it's a good guess. I guess that my question is where do I put the javascript to call the autocomplete function? As a custom code element from the visual editor? In one of the html templates? In the _add php file? Too many choices! |
L
|
lawfour 12/12/2006 |
It was easy in 3.0... just plain ol' php, but with the new functionality of 3.1, I'm lost. Thanks! MD
|
M
|
markdorminy author 12/15/2006 |
Thanks for the help, but it's not exactly the problem I'm trying to solve! I'm trying to autocomplete a field, not an entire form. If a user types "S" in a name field, all the "S's" will appear. If the user then types "m", it narrows the field to names starting with "Sm" etc. |
![]() |
Sergey Kornilov admin 12/15/2006 |
We plan to add this feature next year. This will be a AJAX-based autocomplete, that don't need preloading. |