Prepopulation is not working on a form with Auto Fill enabled

  • Profile Image
    Asked on February 12, 2016 at 12:41 AM

    Hi I am having troubles linking two forms. I have been using the guide to save forms to continue later and also trying to prepopulate the data entered in the original form to autofill into the second main form. The problem I'm having is that when I go from the original form to the main form it is not autofilling with the data in the original form, instead the data is simply populating with other data in another form I filled in earlier. (ORIGINAL FORM) needs to link to the data in (MAIN FORM)

    What am I doing wrong?



  • Profile Image
    Answered on February 12, 2016 at 07:31 AM

    I have checked your prepopulation parameters on the first form, and they are implemented well and working great.

    The problem on the main form comes from the fact that it also has Auto Fill enabled - so the Auto Fill is placing the earlier values your browser has stored in its cookies. As both the Auto Fill feature and prepopulation are trying to insert their own values, they are in conflict with each other on which value is going to be placed.

    In order for the prepopulation to work correctly, please disable Auto Fill on your main form. You can do that by going to Preferences > Advanced Settings > Edit Auto Fill settings, and then setting Auto Fill to Disabled, as shown in the image below:

    Please let us know if this fixes the issue you are experiencing.

  • Profile Image
    Answered on February 13, 2016 at 12:09 PM

    It looks like your post didn't make it through to our forum software, so I'll quote it here for relevance:

    Ok, I've done this and it works - I realised also that when I was testing I hadn't completed submitting previous sessions with the same email address from the main form, and hence it kept reverting to the original data.

    But now I have another problem. It seems the URL link generated will break if some of the details have spaces in the first form. For example if you select in the first form in the branch dropdown list 'NSW & ACT', or if you add two words in the first name field like 'Peter John' the link will not automatically add '%20' for the spaces in the URL - so the link breaks. How can I ensure that the link will render correctly?

    Please don't worry, this should be an easy thing to fix. Please try using the URLENCODE attribute inside the URL parameters, as described in the following guide:

    How to Pass Values to the Text Area of a Form via URL encoding

    In a practical example, if this is the link you are using:{emailAddress}&nameofjob={URLENCODE:nameOf}&contact[first]={contact:first}&contact[last]={contact:last}&branch={branch}&email={emailAddress}

    You would add the part marked in bold red, and the value with spaces will no longer be an issue:{emailAddress}&nameofjob={URLENCODE:nameOf}&contact[first]={contact:first}&contact[last]={contact:last}&branch={URLENCODE:branch}&email={emailAddress}

    Please let us know how it goes.