raliabdillah Posted May 20, 2016 Share Posted May 20, 2016 (edited) Hi There, I have 6.000++ data shown in State list registration form. Inefficient to use a drop down list. Any guide How can I convert State Drop Down list to Search box (with live recommendation)? Thanks in Advance Roeslan Edited May 20, 2016 by raliabdillah (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted May 21, 2016 Share Posted May 21, 2016 The State List should be filtered out by the country user selected, I do not know any country will have so many states (6000+). You must be using the "state" for something else? If you really want to use the search box style "state" selection, you will need to use jquery autocomplete plugin. You may Google to find out how to use that plugin. Link to comment Share on other sites More sharing options...
raliabdillah Posted June 30, 2016 Author Share Posted June 30, 2016 Hi all, Sorry for my very late response... I am in Indonesia, we have 34 provinces, 400++ cities/districts and 6000++ subdistricts. All shipping rate calculated based on subdistricts, but Prestashop can only filter country and state, so we have all subdistricts in state field. If we cant convert the list to search field, Is there any method to filter it by country>Province>Districts>Sub-Districts? Link to comment Share on other sites More sharing options...
shokinro Posted June 30, 2016 Share Posted June 30, 2016 I think you will have to use jQuery autocomplete plugin /js/jquery/plugins/autocomplete/ You can look at back office product editing page - Associations tab as example. The Accessory field is implemented by using this plugin 1 Link to comment Share on other sites More sharing options...
raliabdillah Posted July 1, 2016 Author Share Posted July 1, 2016 Nice. Thanks for the idea and reference, will try to explore it. Link to comment Share on other sites More sharing options...
ideaindividual Posted March 11, 2021 Share Posted March 11, 2021 Nadie quiere documentar esta solucion? xD Algo asi como un tutorial para mancos inexpertos como yo. xD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now