How do I get the form field to show up in email? | Community
Skip to main content
Manjari_Ferguss
Level 2
November 11, 2019
Question

How do I get the form field to show up in email?

  • November 11, 2019
  • 2 replies
  • 5973 views

Having trouble with a form. I have created a form on my website, and in the auto email that gets sent to marketing when someone fills out the form, I can't figure out how to get all the fields to show up.

I have added a token for each of the questions, but one of them is just a text box where the person can fill in their own answer. there is no token for a text box. how do I do this? the form has another text box that is called comment capture, and there is a token for comment capture, but when I use it twice it just duplicates the first comment capture so I'm not sure how to get the second one to show up.

help please?

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

2 replies

Amit_Jain
Community Advisor
Community Advisor
November 11, 2019

Do you have a specific Marketo field mapped with the text box in the question? May be the text box label is different than the actual Marketo field. To check the exact Marketo field name, edit the web-form, select the text box in question and check the "Field" under properties:

The field is the actual database field name of Marketo and you should search that while trying to add token on the email.

Manjari_Ferguss
Level 2
November 11, 2019

Thank you. The field is actually some random one that I don't recall selecting. How do I create a new field?

SanfordWhiteman
Level 10
November 11, 2019

The field is actually some random one that I don't recall selecting. How do I create a new field?

It can't be random, and certainly there's no reason to create a new field -- that's just something you'll never be able to delete in the future.

If the field is shown in Form Editor, then it must exist in your database (Marketo doesn't allow you to hide a field that's known to be in use on a form) and as Amit notes, you'd see the field name in Form Editor. When you click Insert Token to browse for tokens, it will show up there as well.

SanfordWhiteman
Level 10
November 11, 2019

When you browse for a token, Marketo shows you the available {{lead.token}} and {{company.token}} names (and {{my.}}/{{system.}}/{{program.}} tokens as well).

... there is no token for a text box.

Tokens don't explicitly have datatypes, so not sure what you mean here.

Also, a Text field on a form isn't even a datatype, it's merely a form field type that allows multi-line input by the end user. You can have a Text field on a form that saves to a String field in the database, for example (if the value is short enough). You wouldn't see the type "text box" in Marketo other than in Form Editor. Textarea or String, yes. But again, that's not related to finding the token.

Manjari_Ferguss
Level 2
November 11, 2019

Sorry yes it is a text field in the form editor, not text box. How do I get a token for this text field in the email? 

SanfordWhiteman
Level 10
November 11, 2019

The text-related types in Form Editor are "Text" or "Text Area".

But again the field type that's published on this particular form for user input has absolutely nothing to with the token or how to find it!

How do I get a token for this text field in the email? 

Browse for it using the Insert Token button as shown above.