How to prefill form using the data from another form?

  • Vieira_Felipe
    Perguntado em 23 de outubro de 2023 às 17:13



    Senhores,


    Quero usar um formulário final e ele deve ser preenchido por outro pré-formulário.

    Ou seja, cada vez que eu preencher o formulário B, ele pré-preenche o formulário A gerando o link com ele pré-preenchido, envio-o por por email e colocando esse link em uma planilha.

    Isso é possvel fazer?

  • Eliza Jotform Support
    Respondido em 23 de outubro de 2023 às 23:10

    Hi Vieira_Felipe,

    Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Portuguese, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Let's say, a user filled in name, his email address and phone number in Form B, and you want these information to be prepopulated in a generated link to Form A. You can achieve this by including the query strings in the URL. I can walk you through setting that up:

    1. In Form B, click on the Name field.
    2. Click on the Gear icon for Properties.
    3. Go to Advanced.
    4. Scroll down and open Field Details.
    5. Next, copy the Unique Name under Fields Details.
    6. Paste it after the "?" that is added to Form A URL.
    7. Then, follow the same steps for the email and telephone number. Check out the screencast below:

    How to prefill form using the data from another form? Image 1 Screenshot 20

    In my example, here’s Form A with fields prepopulated via query parameters:

    https://www.jotform.com/232958168354467?nome[first]=Jane&nome[last]=Doe&email=janedoe@test.com&telefone=1112223333

    You can also check out this guide about How to Prepopulate Form Fields Using URL Parameters.

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Let us know if there’s anything else we can do for you.