Jump to content
  • 0

Take end user to web page based on search result?


fromtheabbey
 Share

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

Link to comment
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.

Link to comment
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?

Link to comment
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!

Link to comment
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...
 Share

×
×
  • Create New...