Is there a way to autocomplete a field based on another field outside JotForm?

  • Profile Image
    InXpressFrance
    Asked on May 04, 2017 at 06:04 AM

    Hello, I'm trying to find a way on how to make this happen:

    different customersare regularly using  my form to request a transport from ourselves. We have a lot of customer that will use the form

    how is it possible to auto complete the adress of shipper automatically when the customer use the form; and this for every customer.

    I mean, to create a kind of archive,(adress book) and when for instance the customer populates its email adress, automatically the adress fields are populated

    Second thing, 

    how is it possible to create a kind of recipient directory(adress book)

    when the customer calls the name, it then auto populates the recipeient adress box .

    Thanks for your help

    jerome

     

     

     

  • Profile Image
    Jim_R
    Answered on May 04, 2017 at 07:15 AM

    Hello Jerome, the short answer to both of your questions would be no, there's no way to achieve that with our Form Builder. From how you described it, you want your form to pull data elsewhere and populate it onto your form (or as how you phrased it, like an address book).

    The only way around this is to do it outside JotForm. This means you would get your Form's Full Source Code, do your own logic and coding to pull the data elsewhere, and then programatically populate the respective fields.

    Complete guide: How-to-get-the-Full-Source-Code-of-your-Form

    As another alternative, you can actually use Conditions for these but you mentioned "We have a lot of customer that will use the form" so this would become tedious if you have hundreds/thousands of customers.

    If you're interested on how could that work, just refer to the guides I'm linking below.

    Related guides:

    Smart-Forms-Using-Conditional-Logic

    How-to-Pass-Field-Value-to-Another-Field 

    Lastly, if both approaches above will not work for your needs, then I'm afraid you'd have to resort to having your users fill out the forms themselves. Meaning, they will type in their name, email address, their home/billing address, etc. just like any other user/respondent would normally do.

    Most browsers already have a built-in Autofill feature so if they will end up submitting the form multiple times, with the same info in it, they can just use this browser feature to lessen the workload.

    Related article: https://support.google.com/chrome/answer/142893