Title: Autocomplete dropdown or multiselect from api?
Last modified: August 2, 2023

---

# Autocomplete dropdown or multiselect from api?

 *  Resolved [thegrbteam](https://wordpress.org/support/users/thegrbteam/)
 * (@thegrbteam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/)
 * Hello, great plugin! Thanks! 
   We have a schools database of easily 10k+ options
   someone will need to select in a form. Can WPForms connect to an external API
   to get options for an autocomplete field?Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16945393)
 * Hi [@thegrbteam](https://wordpress.org/support/users/thegrbteam/),
 * Currently, we don’t have a feature to autocomplete fields from an external database.
   I’ve made a note of the feature request, and we’ll keep it on our radar to be
   reviewed as we plan out our roadmap for the future.
 * Thank you for the suggestion!
 *  Thread Starter [thegrbteam](https://wordpress.org/support/users/thegrbteam/)
 * (@thegrbteam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16948209)
 * Thank you for the reply [@rsouzaam](https://wordpress.org/support/users/rsouzaam/)!
   
   What about just an autocomplete field in general, reading from values in our 
   database? It’s a very common field type and I couldn’t see it in the options.
   If there is one, could it handle 10k options comfortably? I did find this but
   I’m not so sure it would be very optimised for a large number of potential results:
   [https://wpforms.com/developers/how-to-create-an-autocomplete-field-in-your-form/](https://wpforms.com/developers/how-to-create-an-autocomplete-field-in-your-form/)
   Thanks in advance.
 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16953973)
 * Hi [@thegrbteam](https://wordpress.org/support/users/thegrbteam/),
 * Thanks for getting back to me!
 * About your question: “What about just an autocomplete field in general, reading
   from values in our database?” Unfortunately, we don’t have a way to allow your
   form read values from your database currently.
 * The solution shared in our guide on [https://wpforms.com/developers/how-to-create-an-autocomplete-field-in-your-form/](https://wpforms.com/developers/how-to-create-an-autocomplete-field-in-your-form/)
   will load data from this part in the code:
 *     ```wp-block-code
       /*An array containing all the programming class names*/
       var classes = ["JavaScript","HTML/CSS","Python","C","C+","C++","Java","TypeScript","Pearl","R","SQL","PHP"];
       ```
   
 * In case you’d like to look into custom development options to create a custom
   code to allow your form to read values from your database, we highly recommend
   using[ Codeable](https://wpforms.com/docs/how-to-find-wpforms-custom-development-options-with-codeable/).
 * Thanks!
 *  Thread Starter [thegrbteam](https://wordpress.org/support/users/thegrbteam/)
 * (@thegrbteam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16954073)
 * Ok thanks for confirming, all the best!
 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16957155)
 * Hi [@thegrbteam](https://wordpress.org/support/users/thegrbteam/),
 * Thanks for understanding, and I’m sorry that we cannot provide what you’re looking
   right now.
 * With this, I’m going to go ahead and close this thread for now. But if you’d 
   like us to assist with WPForms Lite, please feel welcome to continue the conversation.
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Autocomplete dropdown or multiselect from api?’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/autocomplete-dropdown-or-multiselect-from-api/#post-16957155)
 * Status: resolved