July 15, 200322 yr 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
July 15, 200322 yr 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>
July 16, 200322 yr Author 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
July 16, 200322 yr Well... Will it display? What have you tried? Well, will the entire search be stored in the token? What have you tried?
July 23, 200322 yr "...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?
Create an account or sign in to comment