Token field | Community
Skip to main content
October 15, 2018
Solved

Token field

  • October 15, 2018
  • 1 reply
  • 1996 views

Hello,

Is it possible to create a hidden token field ({{system.date}}) for example, in a form?

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 Ronen-Was-SRpro

Hi,

It is not possible to use it in a form, however, you can use a smart campaign and change data value.

You can read more about it: Using Tokens in a Form

1 reply

Ronen-Was-SRpro
Ronen-Was-SRproAccepted solution
Level 5
October 15, 2018

Hi,

It is not possible to use it in a form, however, you can use a smart campaign and change data value.

You can read more about it: Using Tokens in a Form

Ronen Wasserman
SanfordWhiteman
Level 10
October 15, 2018

You sure can use a token to populate form fields as long as the form is on a Marketo LP (or if you're using my approved embedded Pre-Fill method).

But that's not the real issue.

The issue is that the particular token {{system.date}) will be stamped as of when the form is rendered. Not when the form is submitted. So if someone leaves the tab open, the value will (naturally) not change. Unless this value is useful (it does show that someone left your form open, for what that's worth) it makes a lot more sense to fill in the datetime using JS at the moment of submission. This is more accurate than using the Smart Campaign, though the SC is generally fine too.