Solved

Concatenate fields to a string and add value to hidden Marketo field?

  • 21 August 2019
  • 3 replies
  • 22 views

Hello,

Is it possible to custom code the concatenation of certain fields into a string, and then input the string into the value of a hidden field?

icon

Best answer by Hristian 22 August 2019, 15:11

View original

3 replies

Userlevel 7
Badge +3

Hey @Erik1,

Yes, it’s possible. Pretty straight forward if that’s all you need to do.

You just have to be careful and do it right before the form is submitted. Otherwise, if a user changes their response after the initial fill, you might get inaccurate data.

Best,
Hristian

Ty @Hristian! Do you mind explaining a bit more what you mean in the last sentence of your reply?

Otherwise, if a user changes their response after the initial fill, you might get inaccurate data.

Also, is there a pre-built script that you know of either here or on github that will concatenate right before the form is submitted?

Userlevel 7
Badge +3

Most of the scripts and workarounds can be found here.

Reply