Master Posted July 30, 2014 Report Share Posted July 30, 2014 How can I open result page in a pop up window? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted July 30, 2014 Report Share Posted July 30, 2014 Create your search and result pages in two different pages as described here http://howto.caspio.com/tech-tips-and-articles/parameters/how-to-separate-search-page-and-results-page-into-two-different-webpages/ In Configure Fields screen of the search page add Hear/Footer to create your customized button using the code below in the Footer: <input type="button" value="Search" onClick="gotoreport();"> <script language="javascript" type="text/javascript"> function gotoreport() { var URL = "URL OF THE REPORT PAGE?PARAMNAME=" + document.getElementById('FIELD ID').value + "& PARAMNAME=" + document.getElementById('FIELD ID').value; newwindow=window.open(URL,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } </script> You need to replace URL OF THE REPORT PAGE with URL of the report page and PARAMNAME with the parameter name you are receiving in the report page in Configure Filtering Fields screen as described in the tutorial. Also FIELD ID with the real field ID. To hide the original submit button you can either add display:none; to .cbSubmitButton in the style you are using for this page or add a Header to the page and use: <style> #Submit{ display:none; } </style> lmooring 1 Quote Link to comment Share on other sites More sharing options...
Kurumi Posted November 20, 2018 Report Share Posted November 20, 2018 Hi @Master, You can now easily create a pop-up window, you might check this article: https://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-generate-link-menus-and-popup-windows/ I hope this helps! Quote Link to comment Share on other sites More sharing options...
cheonsa Posted May 26, 2022 Report Share Posted May 26, 2022 Hello! Just wanted to share with you this new video from Caspio wherein they illustrate how to use modal in your applications. Instead of pop up, you can use modal for a better display. 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.