Can I Auto Fill the fields on the form if I enter a value on one field?

  • Profile Image
    mongaakshay
    Asked on April 01, 2017 at 03:08 AM

    Hi

     

    I have a form - https://form.jotform.com/62355767333966

     

    Basically I am using this for purpose of getting data of visitors coming to our office. Some of the visitors are repeat visitors and it is best to avoid taking their details again and again to save time.

     

    Can there be some provision in this form, wherein a previously generated Unique Number is used to auto populate the form fields ?

  • Profile Image
    liyam
    Answered on April 01, 2017 at 09:47 AM

    Unfortunately, there is no option to do an autofill based on previous submissions. Your only solution is that if you have a separate webhost where you can host and run your own database with capacity to run PHP scripts, then you can create an AJAX-based form functionality that looks up records to your local database to autofill the fields if a matching ID is found.

    One more addition that you need to do is to export your form's full HTML source code and have it placed on a separate HTML file hosted on your website. This way, you can fully customize your form and then insert scripts in it to autofill the fields once an ID is entered on a certain field.

    If you like this idea, you can check out how to export your form's full HTML source code from this guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    Then if you need assistance on developing your form with such functionality, just let me know.