Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

When a user initially arrives at this site, they do a search (often a find all). I need to save that search so that I can return them to it after singling out one record.

I am trying to set a token to that value, but when I display the token (Token: [FMP-CurrentToken]), nothing shows up.

I tried setting it to [FMP-Current Find], [FMP-Link] in an input field, nothing.

Do I need Form tags around an input statement?

How do I do this? Do I set the token in the first search page, or in the search results page?

Thanks,

Ken

Posted

Yes, you need a Form, or Link. Here's an example.

<form action="FMPro" method="post">

<input type="Hidden" name="-db" value="WebDisplay.fp5">

<input type="Hidden" name="-error" value="[FMP-Link]">

<input type="Hidden" name="-format" value="edittime.htm">

<input type="hidden" name="-RecID" value="[FMP-CurrentRecID]">

<input type="hidden" name="-lay" value="DataEntry" >

<input type="Hidden" name="-token.0" value="[FMP-Field: SchDate]">

<input type="Hidden" name="-token.1" value="[FMP-Link]">

<input type="submit" name="-find" value="Edit" class="sm">

</form>

Posted

Will a token value display if you simply insert the code [FMP-CurrentToken] on an HTML page?

In the above example, will the entire search represented here be stored in the Token.1 value, or would it be the link that got you to this page?

Thanks,

Ken

Posted

"...they do a search..."

Instead of asking you, "What have you tried?", perhaps I should have inquired, "What is the code of your search format file and what is the code of your results format file?".

I did not ask your understanding of the setting of a token, perhaps I should have asked that as well.

So, what have you tried? laugh.gif

This topic is 7785 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.