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

    Is it possible to autocomplete a field based on a form recipient's email address?

    Asked by dylanarnould on May 25, 2016 at 01:57 PM

    E.g., if the recipient's email is "johnsmith1@gmail.com", and I send them an email invite, is it possible that, when they click the link, an email field in the form is autopopulated with "johnsmith1@gmail.com"? I'm hoping to utilize conditional logic so that, based on the recipient's email address, they automatically end up with a specific set of questions.

    And if this isn't possible, what's the best work around? All I can come up with is having user's input their emails on page 1, and then using conditional logic based on that. But I would really prefer to automate especially to ensure user's don't misspell email addresses, etc.

     

    Thanks!

     

    form recipient recipient email a
  • Profile Image
    JotForm Support

    Answered by Charlie on May 25, 2016 at 03:03 PM

    I presume this is what you would like to accomplish:

    1. First, you'll send an email to your users with the link to the form. Like a mass email or email group.

    2. User receives email.

    3. User clicks the link to the form.

    4. Email field in the form will be autopopulated based on the email of the recipient who received it.

     

    Unfortunately, that is not possible. Conditional logic is only within the form, it cannot autopopulate based on an outside factor like the email who received it.

     

    However it is possible to prepopulate fields if you directly add them in the URL parameters.

    Example, I will send an email to support@jotform.com, I want them to fill out this form: https://form.jotform.com/61455522662960?email=support@jotform.com. You can see that I hard coded the email address support@jotform.com in the URL parameter. That will prepopulate the email field when the user clicks it.

    To learn more about prepopulating fields, you can check these links:

    https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters 

    https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form 

     

    Let us know if I misunderstood your concern. If so, please do provide us more information and specific setup that you currently have.

    Thank you.

  • Profile Image

    Answered by dylanarnould on May 25, 2016 at 03:39 PM

    Thanks for the quick response.

    You understood me correctly, that's what I wanted to do, I understand that's not possible now.

    However, thanks for the instructions on prepopulating. I have found a good workaround by using mailmerge and the prepopulating hard code, whereby I use mailmerge to input my contact's email at the end of the web address (after "?email="), so that each recipient gets a custom link that is prepopulated

    Thanks for the help!

     

  • Profile Image
    JotForm Support

    Answered by Charlie on May 25, 2016 at 03:45 PM

    You are welcome. I'm glad to hear that the prepopulation work for your current needs.

    If you needed any assistance again, please do feel free to drop by here in the forum.

    Thank you.