Token field | Community
Skip to main content
Oct 15, 2018 7:47 AM UTC
Solved

Token field

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.
Ronen-Was-SRpro
Ronen-Was-SRproAccepted solution
Level 5
Oct 15, 2018 7:58 AM UTC

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

2 replies

Ronen-Was-SRpro
Ronen-Was-SRproAccepted solution
Level 5
Oct 15, 2018 7:58 AM UTC

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

Translate
Ronen Wasserman
SanfordWhiteman
Level 10
Oct 15, 2018 8:12 PM UTC

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.

Translate