CMS Development

walterl
Participant | Platinum Partner
Participant | Platinum Partner

New form security causes issues in lightbox, redirect opens target=_top rather than target=_self

The form submit now goes through extra security, causing a form displayed in a lightbox to redirect top target=_top, replacing the full website. used the onformready script to set the target to new/blank or self however in invokes against https://forms.hsforms.com/submissions/v3/public/submit/formsnext/multipart/ instead of the redirect url link, is there any way preventing this? having several accounts who prefer the lightbox approach to request a form to download a whitepaper, this prevents them to use forms in lightboxes.

<script type="text/javascript">window.parent.postMessage({"formGuid":"xxx","accepted":true,"conversionId":"xxx","redirectUrl":"https://www.google.com"}, "*")</script>

0 Upvotes
1 Reply 1
jennysowyrda
Community Manager
Community Manager

New form security causes issues in lightbox, redirect opens target=_top rather than target=_self

Hi @walterl,

 

Are you still working on this issue? If so, do you mind providing a link to the page you are working on? 

 

 

Thank you,
Jenny

0 Upvotes