simonr Posted December 7, 2001 Posted December 7, 2001 on our site you can do a search and then see a results list. From here you can move onward into the site. We need to make a "back to search results" button. Using Javascript is not an option here as the action of going back to results list needs to occur in one mouse click. Is [FMP-link] the answer? If so, do I set a token as the [FMP-link] and carry it around? If this is the case, exactly where do I set the token and how do I go back and display it further on? Quite new to FM so all help much apreciated Thanks in advance.
Keith M. Davie Posted December 7, 2001 Posted December 7, 2001 It depends on what you mean about "back to search results". If you do an original search which produces say 43 records and you are showing a -max of 10 per browser view, then the link would probably be appropriate. The link tags including last, first, next and previous are all explained in your cdml reference.fp5 which is available in the developer edition or from the link posted elsewhere on these forums. If you want to conduct a new search, then the link will not serve your purposes.
simonr Posted December 7, 2001 Author Posted December 7, 2001 Keith thanks for replying so quick. What we want to do is go back to our list of results that have been already found, NOT do another search. How do we actually make the token with the [FMP -link] activate on an href link? process is as follows: search --> search results --> add to basket --> basket confirm --> back to search results. Thanks Again
Jeff Spall Posted December 7, 2001 Posted December 7, 2001 hi, one that's worked for me is the 'FMP-link' tag: <INPUT TYPE="hidden" NAME="-Token" VALUE="http://mydomain.com[FMP-Link:ra]&-Format=search_results.htm&-Find"> ........should generate the whole search string for the search results page as a token, so you could move on to another Filemaker-generated page and keep the original search. Naturally. the token will fail as soon as you reach a page not called from FMP. I'm using: <INPUT TYPE=hidden NAME=url VALUE="http://mydomain.com/[FMP-Link:%20ra]&-Format=search_results_ext.htm&-Find"> to embed a ready-made search url into an email regards, Jeff
Anatoli Posted December 7, 2001 Posted December 7, 2001 quote: Originally posted by Rumbler: Keith thanks for replying so quick. What we want to do is go back to our list of results that have been already found, NOT do another search. How do we actually make the token with the [FMP -link] activate on an href link? process is as follows: search --> search results --> add to basket --> basket confirm --> back to search results. Thanks Again You can also try: javascript:history.go(-1) javascript:history.go(-2)
Newbies Dan Schulze Posted January 2, 2002 Newbies Posted January 2, 2002 I have the same problem. My code looks like this: <TR> <P><A HREF="[FMP-LinkRecID: format=record_detail.htm, layout=Entry View 800x600]&-Script=L1-Findall-"><FONT COLOR="#CCFFFF">Add 1</FONT></A></P> <P></P> I want the same button that triggers this to do this: javascript:history.go(-2) But no matter where I put it, I cannot trigger both with one link. Dan
Recommended Posts
This topic is 8430 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now