I am currently using the MktoForms2 API to use a single form multiple time on a page. I am able to embed a form multiple times with the following:
<form class="mktoForm" data-formid="1218"></form>
But since the same form is being used multiple times, the IDs inside the forms end up being the same so the page has multiple of the same ids. For example, the page now has multiple of this tag: <label id="LblFirstName" class="mktoLabel mktoHasWidth movetop" style="width: 100px;"></label> so the id "LblFirstName" shows up multiple times.
Is there a way for the forms to have unique IDs for all the elements within the form?
Solved! Go to Solution.