I've been working with the Support rep you've been speaking with, so you might be hearing this for the second time. The forms team is rolling out a fix for this issue shortly; in the interim, you can execute the following right before the forms.create method to fix this issue:
Embed form submission shows Thank You for all forms on the page
@Derek_Gervais is there an update on this issue? I'm seeing the same problem. My form is built the following way:
$('#formModal').on('show.bs.modal', function (event) {
// Note: id is an integer for the product in question.
hbspt.forms.create({
portalId: "123123123",
formId: "123123123-123123123-123123",
formInstanceId: id,
target: '#modal-body',
css: "",
onFormReady: function ($form) {
$('input[name="hidden_id_field"]', $form).val(id);
}
});
});
Submitting any form shows the thank you message but also shows the same thank you message on all forms. My understanding is having a unique formInstanceId should prevent this.