AnsweredAssumed Answered

I would like to pass 2 values from my CMS (Drupal) into 2 hidden fields within a Marketo form. Has anyone done this? Ideas?

Question asked by Valentina Vazquez on May 21, 2019
Latest reply on May 21, 2019 by Sanford Whiteman

We have tried this by storing the values in JavaScript variables, removing the select menus, dynamically creating two new hidden input fields with the same IDs and Names as the select menus had, and passing the values from the JavaScript variables into the hidden fields.

 

We can view the HTML code prior to form submission and verify that the 2 fields have the correct names, IDs and are getting the correct values passed into them. But, for some reason, when the form submits, these two values, and only these two values are not being entered and stored in Marketo.

 

Outcomes