Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8430 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

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)

cool.gif" border="0

  • 4 weeks later...
  • Newbies
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.