June 27, 200124 yr Hi, I have a search page with 5 different criterias (one of them is a popup). On the results page, I want to show these values in Text Fields (& 1 popup field). However, the SetCookie, -Token (beyond -Token.0) don't take up the values, and the FMP-FindFieldItem does not let me specify the value into fields so that the user can modify the search. Any suggestions will be greatly appreciated. Regards Partha
June 27, 200124 yr Will this work for you? < INPUT type="text" name="email" size="35" value="[FMP-Field: email]"> Just cut the spaces after <
July 2, 200124 yr Author Had tried that. What that gives me is the values of that specific field(s) from the first record of the current found set, instead of what I typed in for searching. e.g., if I search for "pep" in the brand field, it returns Pepsi on the Search Results page as that is the value of the brand field in the first record that my search criteria found.
July 3, 200124 yr quote: Originally posted by Partha Dasgupta: Had tried that. What that gives me is the values of that specific field(s) from the first record of the current found set, instead of what I typed in for searching. Did you specify error layout? If the search is unsuccessful you will end up on first record. Is that the case?
July 3, 200124 yr Author Yes, my error page is the same as my search page, where I show an error on top of the search form with an If statement. The search is going through, and showing me the records in the range I asked for on the Search Results page. However, it shows me data from the first record if I use the search parameter fields. When I use FMP-FindValueItem, it shows the right information. Unfortunately this is not in the fields, so I can't save the search parameters, or help the user search again on a variation of the same parameters.
July 3, 200124 yr Just my wild guess, maybe you can carry the original search list through JavaScript variables.
July 6, 200124 yr Just regaring the error page: in my experience (mainly FMP4) if the error page is returned, Web Companion does not return ther first record, it returns NONE. Not even global field values are accessible.
July 6, 200124 yr Author Is there someway that I can save the search values to another file, and then point the search from there with the saved values to the file with the master values?
Create an account or sign in to comment