How can you auto populate a field with text from another form

  • Profile Image
    srbayless
    Asked on August 19, 2012 at 03:33 PM
  • Profile Image
    jeanettebmz
    Answered on August 19, 2012 at 06:49 PM

    I think you might accomplish this by placing a dynamic prepopulation link to the Thank You Page on your first form.

    1. First of all, you will need to get the field {tags}, you can get them from Notification email. Then, you will use them in your dynamic prepopulation URL.

    2.  For example, lets try to prepopulate email address field on the second form based on data that user submitted from the first form. According to the previous screenshot, {yourEmail16} tag is responsible for E-mail field on initial form.

    Now time to add dynamic prepopulation link to the Thank You Page of first form.

     

    So to see this live, please enter the test data on this form : http://form.jotformeu.com/form/21106494481350

    Now  let's see the dynamic prepopulation URL to the second form :

    http://form.jotformeu.com/form/21106785005345?email18={yourEmail16}

  • Profile Image
    srbayless
    Answered on August 19, 2012 at 08:35 PM
    this was not successful. not even in the test
  • Profile Image
    abajan
    Answered on August 19, 2012 at 11:02 PM

    @srbayless

    Actually, I just ran a test submission on the demo and it worked. The second link provided by my colleague was not meant to be clicked directly from this thread but rather from the "thank you" page that loads after submission of the first form. If that procedure is followed, you should see the "E-mail" field of the second form populated with the same address as that entered in the first form.

    If you provide the names of the two forms with which you want to apply this solution, we should be able to find out why it's not working.

    We Look forward to your reply.

  • Profile Image
    srbayless
    Answered on August 21, 2012 at 02:34 AM
    This is What I put in the thank you page of the first form.
    http://form.jotformeu.com/form/2231576965415?yourEmail16={email4} this is the first form

    the second form 22315769654158
    srbayless

  • Profile Image
    abajan
    Answered on August 21, 2012 at 05:11 AM

    Apparently, the problem is that the form ID used in the link is that of a non-existent form. I don't know if it formerly existed but was deleted or what. Provided that the email tag of the first form is {email4}, changing the URL to the following should solve the problem:

    http://form.jotformeu.com/form/22315769654158?yourEmail16={email4}

    If this doesn't work, please provide the name or ID of the first form, so that we may examine it to discover the real cause.

  • Profile Image
    srbayless
    Answered on August 21, 2012 at 08:37 AM

    where can I find the correct for Id

  • Profile Image
    abajan
    Answered on August 21, 2012 at 09:36 AM

    The form ID is the string of digits at the end of its URL. So, using the URL of your second form (http://form.jotformeu.com/form/22315769654158) as an example,  the ID is 22315769654158. A form's ID can also be seen when previewing the form either via your My Forms page or while it's loaded in the form builder. However, if you could just provide the URL of the first form, that would be fine.