• Resolved thegrbteam

    (@thegrbteam)


    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

    (@rsouzaam)

    Hi @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

    (@thegrbteam)

    Thank you for the reply @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/

    Thanks in advance.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @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/?will load data from this part in the 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.

    Thanks!

    Thread Starter thegrbteam

    (@thegrbteam)

    Ok thanks for confirming, all the best!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @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.