Add a form as an element instead of embedding? | Community
Skip to main content
Amelia_Thompson
Level 2
September 12, 2018
Question

Add a form as an element instead of embedding?

  • September 12, 2018
  • 1 reply
  • 2339 views

Is there a way to add a form on a guided landing without embedding it? So that it is editable within the Marketo editor?

So instead of embedding the form:

<form id="mktoForm_XXXX" method="post" style="display:none;"></form>

Is it possible to put the actual form on the page as an element and have it be editable, something like this:

<form action=" ">

  First name:<br>

  <input type="text" name="firstname" value="Harry">

  <br>

  Last name:<br>

  <input type="text" name="lastname" value="Potter">

  <br><br>

  <input type="submit" value="Submit">

</form>

Basically to have it so the form can be modified in the Marketo editor as an element rather than embedding it. Is there a way to achieve this?

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

1 reply

Grégoire_Miche2
Level 10
September 12, 2018

Hello Amelia,

You cannot edit the form directly in the LP. You need to edit the form separately.

And you should not embed a form in a guided LP, you should rather use a mktoForm element inserted at the right place in your template (Create a Guided Landing Page Template - Marketo Docs - Product Documentation ). When you embed a form in an LP instead of using a MktoForm element, you are loosing the prefill feature.

-Greg