JayGuarnieri Posted November 1, 2014 Report Share Posted November 1, 2014 Due to my lack of techincal knowledge I'm using one of the many custom site building offerings. Unfortunately the ability to pass query strings in the URL is not available. Does anyone know of a workaround? Quote Link to comment Share on other sites More sharing options...
Jan Posted November 2, 2014 Report Share Posted November 2, 2014 Hello Bobsgoodeye, Do you want to pass parameters from a Results DataPage to another DataPage? Quote Link to comment Share on other sites More sharing options...
JayGuarnieri Posted November 2, 2014 Author Report Share Posted November 2, 2014 Yes exactly. Results page to a details page on another page on the site. Instructions here but uses query string in the url. This is where I'm stuck. http://howto.caspio.com/tech-tips-and-articles/parameters/results-and-details-on-two-separate-web-pages/ Quote Link to comment Share on other sites More sharing options...
Jan Posted November 3, 2014 Report Share Posted November 3, 2014 If I understand correctly, you can use AutoSubmit on Deatils page of your Results DataPage. The idea is: a user clicks "View Details" on the Results DataPage, Details page is auto submitted and send parameters to "truly" Details DataPage. Please follow the next steps: On the Results DataPage, go to Details page and add fields that you want to pass as parameters, and then check "On Exit Pass field value as parameter" check-boxes for every of them. Select for any field Form Element "Text Field", it allows you to select "Go to a DataPage" on the Destination page. Then add Header and Footer element, add to Header the following code: <div align="center"> <p>Processing...</p> </div> And add to the Footer the following code <br /> <script type="text/javascript"> if(document.getElementById("caspioform")) { document.getElementById("caspioform").style.display = 'none'; document.getElementById("Mod0EditRecord").focus; setTimeout('document.forms["caspioform"].submit()',1000); } </script> On the Destination page select "Go to a DataPage" and select your Details DataPage. If you use embedded DataPages, select "Go to a new page" and enter the address of the page, where your Details DataPages is deployed. I hope, it helps. Quote Link to comment Share on other sites More sharing options...
JayGuarnieri Posted November 3, 2014 Author Report Share Posted November 3, 2014 Thanks very much for the info. I'm looking at this now. Strange thing is anything I use in an html block or header/footer isn't getting rendered as html. It just appears as text. Quote Link to comment Share on other sites More sharing options...
Jan Posted November 4, 2014 Report Share Posted November 4, 2014 If I understand correctly, you should click the Source button, then you can work with the HTML code. Quote Link to comment Share on other sites More sharing options...
JayGuarnieri Posted November 4, 2014 Author Report Share Posted November 4, 2014 Forget I mentioned that. . . .I'm an idiot. . Great, that seems to do the trick. I just need to figure out how to make it open on a new page as I'm using an HTML snippet rather than just embedded. Honestly though I think I might migrate to wordpress. Just too restrictive on the current platform. Quote Link to comment Share on other sites More sharing options...
Jan Posted November 5, 2014 Report Share Posted November 5, 2014 I am glad my suggestion helped As far as I know, if you use an iframe, you can select "Go to a DataPage" on the Destination page. 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.