Possible reasons:
- Ensure you're using SSL/HTTPS (even your local dev environment) - the forms will not work properly without this.
- Ensure the forms is uses your personal marketo domain
MktoForms2.loadForm("//go.yourdomain.com", accountId, formId)
- Check your callback functions! Pay close attention to
form.onSuccess
behavior.