beckyclay Posted February 28, 2013 Report Share Posted February 28, 2013 I am using a Caspio form on my website in an iFrame. Upon submit, I would like the confirmation to be a URL, but I do not want it to show within the iFrame. Is there a way to code the submit button to use the attribute target="_parent" or at least target="_blank" to open the confirmation URL? If so, where is this option or where can I modify the code? Thanks! Quote Link to comment Share on other sites More sharing options...
MayMusic Posted March 1, 2013 Report Share Posted March 1, 2013 Add a header to the DataPage you have it deployed as an iframe and put this code in the Header: In the Footer: Then try this script in an HTML Block added to the last of the element lists: <script> function go(){ window.open ("http://caspio.com","mywindow"); } document.getElementById('cb_wrapper').getElementsByTagName('form')[0].onsubmit=go; </script> Quote Link to comment Share on other sites More sharing options...
mattstine Posted November 23, 2015 Report Share Posted November 23, 2015 Hi, I am new to Caspio and having the same exact issue. I did not understand the answer provided. Could you please provide a more detailed explanation of how this works? Thanks, Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.