Solved! Go to Solution.
Actually, now that I'm having a look at it I have encountered "label", in fact I have had to play around with checkbox labels but more on the CSS and not so much HTML so I hadn't paid attention to the "for"
I didn't know about "data-*" though!
Thanks for clearing it up
After reading your scripts (and understanding only like 2% ) I can't really think of a way of differentiating a normal field from a progressive profiling field except perhaps:
So maybe create another wrapper that tags fields with numbers [1, 2, 3, 4, ..., "lastFieldLoaded"]
Once form is loaded, then determine field order again [1, 2, 3, "lastFieldLoaded", 4, ...]
Don't know, just a very high level idea...
Thanks, Sanford! That's exactly what was happening. You're a peach
Thanks, Sanford! For some reason, this still isn't working for me. Does it matter if you have hidden fields (for URL parameters) or the max number of ProgPro fields you have?
What's the URL?
Hiddens and the # of fields aren't important. It's basic DOM manipulation so if there aren't any syntax errors and all the code is in place, it'll work.
This is exactly what I am trying to do! But I am so confused. Can someone send a sample of the code that needs to be edited? And where to access the code in the form? I am very new to Marketo.
Very basic question here Sanford... where is this code to edit? We currently use a CMS, rather than Marketo landing pages. Is it in the CMS that these code edits need to happen or somewhere in the marketo form itself?
The Forms 2.0 JS enhancement <script> sits outside of (i.e. in addition to) the standard embed code.
What is the standard embed code?
The embed code is what you copy from the Marketo UI to use a form on a 3rd-party site.