Pre-populate field with data from MySQL database

  • Profile Image
    callyrally
    Asked on May 27, 2014 at 07:55 PM
    Could it possibly work if it was used in conjunction with a MYSQL database or is that still not possible?
  • Profile Image
    jonathan
    Answered on May 27, 2014 at 09:05 PM

    Hi,

    This not yet available in the form builder.

    BUT this can be achieved also by creating your own custom server-side program (preferably using PHP) to collect the data from the MySQL database.

    And then, in the website where the form is embedded, you can use code snippet (javascript or PHP) that can pre-populate the form fields with values coming from the variables used in the server-side custom program.

    A similar undertaking had been done on this thread (you may want to review it also for some useful tips)

    I also did a bit of google search and found this 

    how-to-populate-php-html-form-with-mysql-data 

     

    Hope this help. Inform us if you need further assistance.

    Thanks.