Jump to content
  • 0
Sign in to follow this  
fromtheabbey

Take end user to web page based on search result?

Question

Is it possible to create a URL based on the form data from a \"Search and Report\" data page? I am using the \"Search and Report\" application for an inventory search on a web site and would like to be able to direct my customers to the html product detail page that I created with my shopping cart buttons.

Thanks,

Jeff

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

I could have sworn I replied to this already :?: ....oh well

You need to enabled advanced options and parameter(at the beginning of the caspio wizard)...these are checkboxes. When you are configuring the fields you want listed in your results you are going to add a new \"html block\" this is an option at the lower left below all the fields you want on the page....in the newly created html block you will add the custom code that you have that builds the button link. Then all you need to do is replace the values you need from the table.

You access the variables like so:

[@field:nameOfFieldAsItIsInNamedInTable]

replacing nameOfFieldAsItIsInNamedInTable with the appropriate value.

Share this post


Link to post
Share on other sites
  • 0

First I will start by saying.....anything is possible :D

But to make sure I understand what you are asking. You have a Caspio Search and Report datapage (and its working to your liking) but you want some custom coded buttons to take you to the details page (this is not a Caspio datapage) for a particular product?

Share this post


Link to post
Share on other sites
  • 0

Ok, I'm a bit of a novice here.

Here is the image code for the image I would like to use as a button:

purchase_md_clr.gif\"

The route for the target page would be:

www.fromtheabbey.com/bookstore/[Category]/[item_Name].html

with the bracketed items being the field names in my Caspio tables.

So, do I just insert the code you gave me into the href tag using the field names in place of the \"nameOfFieldAsItIsInNamedInTable\"? Like this:

[@field:Category]/[@field:Item_Name].html>

Or is your response assuming knowledge that I do not yet have?

Thanks for your help!

Share this post


Link to post
Share on other sites
  • 0

Looking at that....the tags that say doesn't belong. I will ask you to please provide a link to the page your working on (that doesn't work) so I can tell you exactly what the issue is.

Share this post


Link to post
Share on other sites
  • 0

Ha! I think I got it working!

If you try it, please be aware that I am still developing the site, so not all the pages are up yet and all of the pages that the link will target need to be renamed. However, I am getting the proper URL with the link!

Thank you!

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...