-
-
Save courtnEMAIL/c91ef76e088e68b1d24993cec7e1f56e 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