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

    Prepopulation URL Issues From Another Form's Submission Email

    Asked by acpa on August 14, 2015 at 02:39 PM

    Hello,

    I have a form that uses a dropdown to select a position to nominate someone for.

    Upon submission of that form, the nominee receives a notification that they have been nominated. In that notification email, I have embedded a link to the application form that used the prepopulation URL:

    ?fullName={fullName}&title={title11}&college={college12}&phoneNumber={phoneNumber14}&positionFor={positionFor}&email25={email13}

    Each form has the same list for positionFor, but what happens is spaces are removed when the URL is generate, making the prepopulated choice not match what is in the application form. Here is an example of what is generated:

    ?fullName=JonSmith%20Jr.&title=Nominee%20OMegas&college=ACPA&phoneNumber=443.623.3016&positionFor=AssemblyCoordinator%20for%20InternationalDivisions&email25=jong@email.com

    You'll notice the spaces missing, as it should read "Assembly Coordinator for International Divisions" or "Assembly%20Coordinator%20for%20International%20Divisions". The fullName= and title= prepopulations also dropped spaces, and I am assuming the college= would have as well if I had entered multiple words.

    Is there a way to preserve the spacing to avoid the bad prepopulation data?

    Thanks.

     

    prepopulation another form submission email email
  • Profile Image
    JotForm Support

    Answered by Boris on August 14, 2015 at 05:11 PM

    Can you please try using the URLENCODE: attribute to save the spaces from being converted, which you would use like this:

    positionFor={URLENCODE:positionFor}

    You can take a look at this guide for more details on the URLENCODE attribute: How to Pass Values to the Text Area of a Form via URL encoding

    Please let us know how it goes. Thank you.