Prefill doesn't seem to work when using multiple forms on a single landing page? | Community
Skip to main content
Kara_Hall
New Participant
December 10, 2018
Solved

Prefill doesn't seem to work when using multiple forms on a single landing page?

  • December 10, 2018
  • 1 reply
  • 2715 views

I have a landing page that I'm using as a subscription center. It has an area at the top to submit an email (form 1) and then another area to select interests (form 2). When I'm testing my landing page, it only wants to prefill the first form it comes to in the landing page and leave everything else blank. If I delete the top form (form 1) and leave form 2, then form 2 will prefill. So I feel like the functionality is working on each form, but something is preventing it from working on both at the same time.

Thoughts?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

It's not that it doesn't work exactly, it's that there's only one block of Pre-Fill info page-wide and it's based on the first form in the DOM.

So both forms need to contain all relevant fields (they can be Hidden fields).

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
December 10, 2018

It's not that it doesn't work exactly, it's that there's only one block of Pre-Fill info page-wide and it's based on the first form in the DOM.

So both forms need to contain all relevant fields (they can be Hidden fields).

Kara_Hall
Kara_HallAuthor
New Participant
December 10, 2018

So if form 1 has email address and form 2 has first name and last name fields, form 1 needs to include the first name and last name fields as well but hidden? Am I understanding that correctly?

SanfordWhiteman
New Participant
December 10, 2018

Yep.