December 7, 200124 yr 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.
December 7, 200124 yr 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.
December 7, 200124 yr Author 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
December 7, 200124 yr 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
December 7, 200124 yr 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)
January 2, 200224 yr Newbies 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
Create an account or sign in to comment