Form Embed - get 'form pre-fill' to work on non-marketo landing pages

Form Embed - get 'form pre-fill' to work on non-marketo landing pages

The javascript for embedding forms in HTML is great, but the lack of 'pre-fill form' and 'progressive profiling'  on non-marketo landing page is SO disappointing.
18 Comments
SanfordWhiteman
Level 10 - Community Moderator

Not if there are no such cookies because the lead is known, but has never supplied the data in that browser before.

Robb_Barrett
Marketo Employee

Cross browser compatibility is a reach of a user case, IMHO.  Most people tend to prefer a single browser, but in any case it's like saying "What if you're on your phone or on your computer?"

I embed my forms on Marketo LPs and use the following code in my forms embed to pre-pop. If you iFramed in a Marketo LP with the form you should be able to utilize this code to pre-pop still. I suppose you could also pass over the {{lead.Lead ID}} in a URL parameter and, on the form, have a hidden field for Lead ID which would pre-pop. I've never tried it before but it seems doable.

form.vals({"PostalCode":"{{lead.Postal Code}}",

                 "Phone":"{{lead.Phone Number}}",

                 "FirstName":"{{lead.First Name}}",

                 "LastName":"{{lead.Last Name}}",

                 "Company":"{{company.Company Name}}",

                 "Email":"{{lead.Email Address}}",

                 "City":"{{lead.City}}",

                 "Title":"{{lead.Job Title}}",  

                 "State":"{{lead.State}}",

                 "Address":"{{lead.Address}}"});

SanfordWhiteman
Level 10 - Community Moderator

The definition of Prefill -- as derived from its current implementation and discussed here -- is that it works whenever a lead is known. If it only meant "cache the values the lead entered in the same browser session" then people wouldn't care about it enough to miss it. They'd already be using cookies to persist data.

I totally disagree that cross-device is an edge case. It's the case and the reason this Idea exists. Whenever a known lead reaches a form, people want it to be filled in. 

Anonymous
Not applicable

Has this been fixed or is there a way around it?

SanfordWhiteman
Level 10 - Community Moderator
Anonymous
Not applicable

I'll try this

kh-lschutte
Community Manager
Status changed to: Open Ideas
 
Steven_Vanderb3
Marketo Employee
Status changed to: No plans to build