Partha Posted June 27, 2001 Posted June 27, 2001 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
Anatoli Posted June 27, 2001 Posted June 27, 2001 Will this work for you? < INPUT type="text" name="email" size="35" value="[FMP-Field: email]"> Just cut the spaces after <
Partha Posted July 2, 2001 Author Posted July 2, 2001 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.
Anatoli Posted July 3, 2001 Posted July 3, 2001 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?
Partha Posted July 3, 2001 Author Posted July 3, 2001 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.
Anatoli Posted July 3, 2001 Posted July 3, 2001 Just my wild guess, maybe you can carry the original search list through JavaScript variables.
Vaughan Posted July 6, 2001 Posted July 6, 2001 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.
Partha Posted July 6, 2001 Author Posted July 6, 2001 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now