Skip to content

Commit

Permalink
fix: formInstanceId required when embedding the same form on the same…
Browse files Browse the repository at this point in the history
… page multiple times.
  • Loading branch information
mudassir-hafeez committed Apr 1, 2024
1 parent 1a3caf5 commit 0dc0949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cms/templates/partials/keep_me_updated_button.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ <h2 class="modal-title text-uppercase">Got it! thanks.</h2>
portalId: "{{ hubspot_portal_id | safe }}",
formId: "{{ page.marketing_hubspot_form_id | safe }}",
target: "#marketing-hubspot-form-{{unique_identifier}}",
formInstanceId: "{{unique_identifier}}",
onFormSubmitted: function($form, data) {
if (!data.redirectUrl) {
if ('firstname' in data.submissionValues) {
Expand Down

0 comments on commit 0dc0949

Please sign in to comment.