codell Posted April 25, 2016 Report Share Posted April 25, 2016 Hello, Thanks in advance for checking this out. I use separate Search and Results datapages to filter a results table on a single web page. I am looking for a way to hide the Search fields if a user navigates to the "Details" view. Is there a way to do this with JS? I figure I could also remove the details page, create a new details only datapage, and just use an html block link with querystring parameters from the results table to connect the two but am more interested in if there is a coded way to accomplish this. Thanks again. codell Quote Link to comment Share on other sites More sharing options...
MayMusic Posted April 25, 2016 Report Share Posted April 25, 2016 Why don't you separate your report and details and do not include search on details page: 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...
MayMusic Posted April 25, 2016 Report Share Posted April 25, 2016 If not then add Header/Footer to details page Header: <div id="details"> Footer: </div> <script> document.getElementById('search').style.display="none"; </script> Quote Link to comment Share on other sites More sharing options...
codell Posted April 25, 2016 Author Report Share Posted April 25, 2016 MayMusic! Thanks for the solution! You are the best. Works just as I had hoped. codell Quote Link to comment Share on other sites More sharing options...
MayMusic Posted April 26, 2016 Report Share Posted April 26, 2016 You are welcome! I am glad it helped :) 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.