Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
OK, so I can just add that function into my existing script and just change the form field name i.e.:
I am trying to pre-populate a field on an embedded form. I read through this article and it seemed straightforward.https://nation.marketo.com/t5/knowledgebase/setting-or-getting-a-form-field-value-via-javascript-on-a/ta-p/250268 The issues I ran into was the page did not show the ID, just the name:T...
I updated the code, but it is still defaulting to the same "stay on page" action.
https://shopboss-062824.mystagingwebsite.com/ebook-the-shop-owners-guide-to-the-millionaire-making-kpi/I checked the page, there is nothing I can see there. My form is defaulted to stay on page, so it feels like it is ignoring my choices and going straight to the default option. This is the page it is embedded on: https://shopboss-062824.mystagingwebsite.com/ebook-7-ways-your-shop-management-software...
I am setting that on the form, you can see my choices here:And the value is coming in on the form submission:But it is not redirecting. It just stays on the page.
I am not fluent in JS, but was trying to create an embed script to put a form on an outside page, while also allowing the CTA to be changed, as well as re-directing the thank you page based on the URL where the form was embedded. Here is my code:
I have also setup the Marketo form to redirect based ...The goal was to embed this form on an external page, the second part is to allow for changing the submit button, and the bottom piece was designed to change the Thank You page based on the LastFormURL field. I set up the choices on the form in Marketo.
@SanfordWhiteman I found this and was attempting to use it on our instance, but it is causing issues. I am not sure if I broke the code trying to compile it. I am getting two forms showing up.
Also is this app viable if marketers are creating webinars? It seems ideal to be able to do it within the Marketo platform directly.