hlassis

hlassis

Contact Me
Online Status
Offline
Date Last Visited
‎06-06-2024 03:15 PM
Level 2
Joined the community 10-03-2023
Rank Icon Level 2
Web Developer
Brazil
  • solved badge Re: How to add a global form multiple forms on the same page

    Got it. So, here's a working solution:HTML:

    JS: (function() { /* config area - replace with your instance values */ var formIds = [X005], podId = '//info.example.com', munchkinId = '690-TWA-183'; /* no need to touch anything below this line */ var MKTOFORM_ID_PREFIX = 'mktoForm_', MKTOFORM_ID_AT...

    image_type
    Discussions
    5970 0 1
  • solved badge Re: How to add a global form multiple forms on the same page

    FYI: OnSuccess works fine. The issue is with definitely on the onFormRender.

    image_type
    Discussions
    4757 0 3
  • solved badge Re: How to add a global form multiple forms on the same page

    FYI: After this post I decided to test it changing the readyform.onFormRender to MktoForms2.onFormRender and it worked for the first form.

    image_type
    Discussions
    4768 0 4
  • solved badge Re: How to add a global form multiple forms on the same page

    So, here I am again. @SanfordWhiteman , thanks for letting me know how to grab the HTML form, and with that, I could improve the code. Now the first script is working fine, the whenReady is working fine, is capturing the forminstance and I can use it on the code. The thing now is, and I don't know w...

    image_type
    Discussions
    4775 0 5
  • solved badge Re: How to add a global form multiple forms on the same page

    Oh, good to know! 😅My idea was to try to filter the form by the form-instance attribute getting first all the forms with ClassNames and then creating a variable for each one. Since getElementsByClassNames give me an Object, the first thing I thought of using was item, but I confess that I need to u...

    image_type
    Discussions
    4788 0 6
  • solved badge Re: How to add a global form multiple forms on the same page

    Hi @SanfordWhiteman, thanks again. I'm trying to use both codes ("same form, multiple times and the one you gave me) in one, and I'm probably missing something, but this new code isn't working 100%. The first part, to multiply the form on the page, works perfectly, and the second part is being read ...

    image_type
    Discussions
    4806 0 8
  • solved badge Re: How to add a global form multiple forms on the same page

    @SanfordWhiteman thank you very much for your answer but since it's a global form they all have the same ID. Perhaps I can add onFormRender and onSucess based on some data-attribute?

    image_type
    Discussions
    4828 0 10
  • solved badge How to add a global form multiple forms on the same page

    Hello everyone! We're migrating from Hubspot to Marketo on the company and using Global Forms. When I have to add only one on the page, everything is fine, but there's a specific page with a tabbed interface with four forms, and I have no idea how to add the same global form multiple times there. I ...

    image_type
    Discussions
    4905 0 12

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Establish Establish Earned on 6.06.24 Earned by 2352 people Select to learn more
  • Validate 1 Validate 1 Earned on 3.15.23 Earned by 687 people Select to learn more
  • Affirm 1 Affirm 1 Earned on 3.15.23 Earned by 715 people Select to learn more
  • Give Back 5 Give Back 5 Earned on 3.14.23 Earned by 1285 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 3.14.23 Earned by 1979 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 3.13.23 Earned by 4374 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 3.10.23 Earned by 4276 people Select to learn more
Public Statistics
Date Registered ‎03-10-2023 12:19 PM
Date Last Visited ‎06-06-2024 03:15 PM
Total Messages Posted 8
Likes given to