What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to prepopulate form from SQL database?

    Asked by planfarmacias on May 19, 2016 at 12:41 PM

    Buenos días a todos,

     

    pro favor su ayuda para alimentar un campo de mi formulario con información de una base sql o de google spreadsheet, el decir que si agrego un nombre a mi hoja de datos aparezca disponible en mi campo del formulario.

    Gracias.

    MA 

    sql datos a
  • Profile Image
    JotForm Support

    Answered by Nik_C on May 19, 2016 at 01:31 PM

    If I understood you right you would like to fill your form directly from SQL database. Unfortunately, not possible with current options we have, but you could do that by creating your own custom server-side application to collect the data from the MySQL database. 

    And then in the website, you can use some Javascript or PHP that can pre-populate the form fields with values coming from the variables used in the server-side application.

    You can check this thread as a reference.

    Let us know if you have further questions.

    Thank you!