Jump to content
  • 0
Sign in to follow this  
Martin

Passing Info From Search Page To Results Page - And Back

Question

I have set up a Caspio datasheet report with a search page, a results page, and a detail page.  My search page uses three sets of radio buttons to control the search, and they work fine.  However I can't figure out how to implement my next step.  I want the top of the results page (header?) to show what choices the user made.  Then I want those buttons to still be selected if the user chooses to "search again."

 

Although Caspio documentation is impressive, I can't seem to find "the big picture" that shows how to put the pieces together.  And in the absence of working samples I can't figure out where to put my JS to accomplish what I want - in the sequence that I want.  In other words - I have no idea what to do.

 

Does anyone have a suggestion for how this should be approached?

 

Any suggestion for documentation that discusses the issues of timing and data availability between the different pages?

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Jan, thanks so much for the suggestion!  Could be just what I'm looking for.  I'll check it out and let you know.  I was having no luck at all with JS in the Results Page header section.

Share this post


Link to post
Share on other sites
  • 0

I've been working with the separated Search and Results pages, and logically it seems to be the way to go.  Haven't been able to actually make them work yet, so I assume I've done something wrong.

 

Does anyone know how to display the parameters that are actually being passed?

My parameters are [@Day], [@Meal] and [@Loc], 

Share this post


Link to post
Share on other sites
  • 0

Hello Martin,

 

If you want to display parameters in the Header, you can add the Header&Footer element and enter your parameters like

[@Day] [@Meal] [@Loc]

They should be displayed in one line.

Share this post


Link to post
Share on other sites
  • 0

Thanks, Jan.  I was able to put a simple document.write command in the header of the results page, and apparently it is receiving nulls from the search page.  I'll go back and review the settings on the search page and see if I can spot what I did wrong.

Share this post


Link to post
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...