Re: Hidden Marketo Forms Conflict on Wordpress

SanfordWhiteman
Level 10 - Community Moderator

Re: Hidden Marketo Forms Conflict on Wordpress

No, you just use the variable

form

Latest versions of Safari and of OS X? Can you take a screencast?

Anonymous
Not applicable

Re: Hidden Marketo Forms Conflict on Wordpress

form.addHiddenFields({

doesn't work am I missing something there?

10.12.5 of OS X

Latest version for Safari.

SanfordWhiteman
Level 10 - Community Moderator

Re: Hidden Marketo Forms Conflict on Wordpress

Looks like you decided to go with a Marketo form only. Not a bad idea!

In any case what I'm referring to is simply that the only parameter of a ready/whenReady/whenRendered callback is already a Marketo form object. You don't need an intermediate variable, and you don't need to refer to the allForms() collection, which creates unstable behavior.

function(form) {

  form.submit();

});