Title: dropdown database
Last modified: May 20, 2021

---

# dropdown database

 *  Resolved [pottervogel](https://wordpress.org/support/users/pottervogel/)
 * (@pottervogel)
 * [5 years ago](https://wordpress.org/support/topic/dropdown-database/)
 * hello sir, i want to fill some dropdowns from database tables – how would i do
   this? do i need an addon?

Viewing 1 replies (of 1 total)

 *  Plugin Author [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * (@edgarrojas)
 * [5 years ago](https://wordpress.org/support/topic/dropdown-database/#post-14476049)
 * It is possible but would require some coding, first you need to do a service 
   that return the options in json format, something like this:
 * [
    {“label”:”Options 1″,Value:”Value1″}, {“label”:”Options 2″,Value:”Value2″}]
 * Then in your dropdown you can create a formula to retrieve the dropdown values
   using the remote function. Here is an example of how to use the remote function
   in a formula:
    [https://smartforms.rednao.com/how-to-make-your-customer-happy-by-auto-filling-the-form-for-them/](https://smartforms.rednao.com/how-to-make-your-customer-happy-by-auto-filling-the-form-for-them/)
 * Regards!

Viewing 1 replies (of 1 total)

The topic ‘dropdown database’ is closed to new replies.

 * ![](https://ps.w.org/smart-forms/assets/icon-256x256.jpg?rev=1226707)
 * [Smart Forms - when you need more than just a contact form](https://wordpress.org/plugins/smart-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/dropdown-database/#post-14476049)
 * Status: resolved