Autouzupełnianie danych z zewnętrznej bazy

  • digitalbmplcat
    Asked on 14 maja 2024 08:41

    Czy jest możliwość autouzupełniania danych w formularzu z zewnętrznej bazy danych? Chcielibyśmy połączyć nasze konto z bazą CEIDG i użytkownikowi po wpisaniu NIP firmy pozostałe dane uzupełniłyby się automatycznie.

  • Shirized Jotform Support
    Replied on 14 maja 2024 08:45

    Hi digitalbmplcat,

    Thanks for reaching out to Jotform Support. Unfortunately, our Polish Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Polish, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, coming back to your question. We have a Spreadsheet to form widget widget that you can use to import your data, but it won't populate the Product List field. Let me show you how to use it:

    • Create a spreadsheet that includes your data in the structure you see below. It's important that the column names in the spreadsheet and field names on the form are the same.

    1643012753 61ee6291bccef  Screenshot 40

    • In Form Builder, click on the Add Form Element menu on the left side of the page.
    • Under the Widgets tab, search for the Spreadsheet to Form widget and add it to your form.

    Autouzupełnianie danych z zewnętrznej bazy Image 1 Screenshot 51

    • In the Widget Settings window that opens up, upload your data file and customize the other options. 
    • Then, click on Update Widget.

    Autouzupełnianie danych z zewnętrznej bazy Image 2 Screenshot 62

    • In the final stage, add the fields to view values and name them the same as on the spreadsheet.

    Autouzupełnianie danych z zewnętrznej bazy Image 3 Screenshot 73

    If that’s not exactly what you’re looking for, can you explain a bit more, so I can help you better?

    Give it a try and let us know if you need any help.

  • digitalbmplcat
    Replied on 14 maja 2024 08:51

    Is it possible to connect an external database via API instead of a spreadsheet?

  • Ericson_B Jotform Support
    Replied on 14 maja 2024 11:04

    Hi digitalbmplcat,

    Thanks for getting back to us. Unfortunately, the Jotform API does not yet support what you are trying to accomplish. Currently, here is a list of external databases that can be used to prepopulate a form: 

    Let us know fi there's anything else we can help you with.