view html code block

HI all,   I have a html code block (See below for example) that I need to display in a parent window or an IFRAME, the code block should take the user to their bank for authentication. I have tried using the 'rich text' widget, 'html snippet' widget, 'iframe component' widget and 'ckeditor' widget to try and display the html but nothing works. Please can anyone help me find  a solution? Thanks in advance. html code block: <form id="downloadform3D" name="downloadform3D" method="post" action="https&#58;//" > <noscript> <div>JavaScript is currently disabled or is not supported by your browser<br/> Please click on the &quot;Continue&quot; button to continue the processing of your 3-D secure transaction.<br/> <input class="ncol" type="submit" value="Continue" id="submit1" name="submit1" /> </div> </noscript> <div> <input type="hidden" name="CSRFKEY" value="651DAF5F915005D55063E78086AE5FFD7EA91DB6" > <input type="hidden" name="CSRFTS" value="20220922173921" > <input type="hidden" name="CSRFSP" value="/ncol/prod/orderdirect.asp" > <input type="hidden" name="methodUrl" value="https&#58;//"><input type="hidden" name="threeDSMethodData" value="eyJ0aHJlZURTU2VydmVyVHJhbnNJRCI6IjVkMTkyMTk2LTRjOTktNGNmNS05MjkyLTRlODcyNjNmYTZiMiIsInRocmVlRFNNZXRob2ROb3RpZmljYXRpb25VUkwiOiJodHRwczovL21waTIudi1wc3AuY29tLzNkcy1tZXRob2QtcmVkaXJlY3Rpb24vZTYyNTM4ZmUtN2ZkZC00NmVkLTk0OGItMmNiOWI1YWE5MzAyL01hc3RlckNhcmQvcmVxdWVzdC9jYWxsYmFjayJ9"></div> </form><form method="post" action="order_agree.asp" name="uploadForm3D" id="uploadForm3D"> <input type="hidden" name="CSRFKEY" value="DC3F1D967F2BEF2820C53EDD966A7CA95E685F59" > <input type="hidden" name="CSRFTS" value="20220922173921" > <input type="hidden" name="CSRFSP" value="/ncol/prod/orderdirect.asp" > <input type="hidden" name="branding" value="" /> <input type="hidden" name="payid" value="6897220682" /> <input type="hidden" name="storealias" value="checked" /> <input type="hidden" name="hash_param" value="46C9A6B3CB904C0974B66F70922CA7696B8D01D4" /> <input type="hidden" name="xid_3D" value="" /> <input type="hidden" name="version_3D" value="" /> <input type="hidden" name="status_3D" value="XX" /> <input type="hidden" name="eci_3D" value="7" /> <input type="hidden" name="error_3D" value="" /> <input type="hidden" name="cardnumber" value="" /> <input type="hidden" name="Ecom_Payment_Card_Verification" value="*431149517" /> <input type="hidden" name="CVCFlag" value="7" /> <input type="hidden" name="cavv_3D" value="" /> <input type="hidden" name="cavvalgorithm_3D" value="" /> <input type="hidden" name="signatureOK_3D" value="" /> <input type="hidden" name="hash_param_3D" value="B1F72408DFFDBA7D4F0B75935433135716486F7976CD8BBD93A3411593A314C6" /> </form> <SCRIPT LANGUAGE="Javascript" > <!-- var popupWin; var submitpopupWin = 0; function LoadPopup() { if ( == null) { = "ogoneMain"; } popupWin ='about:blank', 'popupWin', 'height=400, width=390, status=yes, dependent=no, scrollbars=yes, resizable=no'); if (popupWin != null) { if (!popupWin || popupWin.closed) { return 1; } else { if (!popupWin.opener || popupWin.opener == null) { popupWin.opener = self; } = 'popupWin'; if (submitpopupWin == 1) { self.document.forms.downloadform3D.submit(); } popupWin.focus(); return 0; } } else { return 1; } } self.document.forms.downloadform3D.submit(); //--> </SCRIPT>
1 answers

I think you need to split this into two parts as it contains both HTML and JavaScript.

In this case I would suggest putting the form tag into one HTMLSnippet with the Content Type radio button set to HTML. I would then take the content of the SCRIPT tag (but not the script tag itself) into another HTMLSnippet but with the JavaScript radio button set.

Let me know if that works.

Good luck!