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

    Pre-fill form using buyer's existing information?

    Asked by Vishal Bhatnagar on August 31, 2015 at 09:31 AM
    On our platform, their are a lot of Repeat Buyer who place inquiry from different forms in an average interval Gap of 2-3 days. So in these cases, we store buyer's basic information in cookies and whenever the buyer returns on any form on our portal (www.indiamart.com & it's sub domains like trade.indiamart.com, dir.indiamart.com etc ...) we show the inquiry form PRE-Filled + buyer's information. So please do let us know if the above UX would be possible or not and if we host your forms on our domain then will cookies be supported or not ?
  • Profile Image
    JotForm Support

    Answered by Charlie on August 31, 2015 at 09:46 AM

    If you want to pre-fill the forms, I have a few workaround in mind.

    Currently, you cannot connect your database to JotForm, BUT you can easily get and send information to your database after the form is submitted. Here are the workarounds I have in mind.

    1. Your form can easily send the submission data via POST using PHP script and store it in your MySQL database, here's a guide on that: https://www.jotform.com/help/126-How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP. From your database, you can easily fetch the data to prefill the form when an existing user is doing the order. Or you can easily integrate WebHook to send HTTP post, here's a guide: https://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm 


    2. You can also easily fetch the customers data using API, here's our API document that you can refer to: http://api.jotform.com/ 


    I hope that helps.