Created
March 18, 2016 19:58
-
-
Save entendu/5f197714003b343d549d to your computer and use it in GitHub Desktop.
Dyamically setting Marketo form field values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MktoForms2.loadForm("//app-XXXX.marketo.com", "XXX-XXX-XXX", formID, function(form) { | |
| form.setValues({ | |
| // Update this with the field/value. | |
| "my_field": "my value!" | |
| }, function(k, v){var o={};o[k]=v;form.addHiddenFields(o)}); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment