How can I get a Marketo form like this? | Community
Skip to main content
Bhanu_Chawla
Level 2
June 29, 2017
Solved

How can I get a Marketo form like this?

  • June 29, 2017
  • 2 replies
  • 5032 views

So I just stumbled upon this landing page and loved the Marketo form embedded on it: The World’s 50 Most  Influential CMOs 2017 - Sprinklr

There are a couple of things I like about it:

  • The Company name field auto populates (from LinkedIn?) - So cool!
  • The form validates the email address field to only accept business email addresses. How can I do that?
  • Once you fill in the form and submit, you get logged in as a user automatically (progressive profiling? see screenshot)

How can I get as close as possible to this form?

We use Drupal as our main CMS and Unbounce/Marketo for some landing pages.

Cheers

Bhanu Chawla

Best answer by Gerard_Donnell4

What you want to do with regards to checking the field values like business address will require using the Marketo Javascript API http://developers.marketo.com/javascript-api/forms/ 

For the customised greetings, you can do this from the form edit area.  There is a section called "If known Visitor, show:" Set this to custom html and then add your message.   An example would be "Welcome back {{lead.FirstName}},  If you're interested in more information why not schedule a call with one of our team."

2 replies

Gerard_Donnell4
Gerard_Donnell4Accepted solution
Level 9
June 29, 2017

What you want to do with regards to checking the field values like business address will require using the Marketo Javascript API http://developers.marketo.com/javascript-api/forms/ 

For the customised greetings, you can do this from the form edit area.  There is a section called "If known Visitor, show:" Set this to custom html and then add your message.   An example would be "Welcome back {{lead.FirstName}},  If you're interested in more information why not schedule a call with one of our team."

Bhanu_Chawla
Level 2
June 30, 2017

Great. Thanks for that. How about the auto-populate functionality for the "Company Name" field?

SanfordWhiteman
Level 10
June 30, 2017

The "business email" validation JS they're using is here. But it has a pretty blatant bug: it does a case-sensitive match, so you can enter bhanu@Gmail.com and pass validation. There's better code here if you search the Community.