Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

AJAX drop down / text database data filtering


Reply

6 Posts   3591 Views

Avatar
Terminator4

28 January 2009 at 3:44am Community Member, 81 Posts

Hey guys,
How do I make a drop down box (or text box autocomplete) filter another box or table via AJAX in SS?

Examples include:
- http://superkeng.freehyperspace.com/state_dropdown.php
- http://www.w3schools.com/PHP/php_ajax_database.asp
- http://wolever.net/~wolever/textbox/textbox.html
- http://www.nitobi.com/products/combobox/
- http://webtecker.com/2008/03/10/10-auto-complete-ajax-scripts/

Avatar
Hamish

28 January 2009 at 9:04am Community Member, 712 Posts

[url]http://doc.silverstripe.com/doku.php?id=autocompletetextfield[/url]

Avatar
Terminator4

28 January 2009 at 9:31am Community Member, 81 Posts

Sorry, the documentation is bad for this link. Any idea how to use it?

Also, any idea on how to do the AJAX drop down boxes since that is my main issue?

Thanks

Avatar
w

5 April 2009 at 10:55pm Community Member, 1 Post

Can someone help on this topic?
It is not clear how to make ajax calls with autocompleteTextField - especially the ss part.

Thanks.

Avatar
geyer

19 May 2009 at 11:19pm Community Member, 5 Posts

It looks like they used the scriptaculous Ajax.Autocompleter..

The documentation for that can be found at:

[url]http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter[/url]

Avatar
Ricardona

10 July 2009 at 3:33pm Community Member, 26 Posts

http://www.silverstripe.org/archive/show/511?start=0#post522