April 23, 200322 yr I have made a query in this forum but could not find the answer. This may very well be a reflection of my ability to search and/our the (low) level of my question <smile> Anyway, I have made a results.html that shows some records after a query. Now i want to show these results in a frame (to see in a later stage if i can avoid the URL display to the user). So this is the basic code of the page that is called by the form submission: <FRAMESET ROWS="110,*"> <FRAME NAME="RESULTS" SRC="results.htm"> </FRAMESET> And results.htm contains CDML code to present the data. Now the only thing i see in my browser is the cdml code not the results. Apparantly this is not the way to proceed. Can anyone show me a basic code to present query results in a one frame page. Thanks Jitse
April 23, 200322 yr dont use frames. if you have to, specify the full url that led to the page, not just results.htm. (ie, the form cgi with the full http request). This will, however, lead to reposting the same data again if you are updating records. dont do it. you are asking for trouble. whereever possible, use a javascript document.write statement instad of frames, and layers.
April 23, 200322 yr Author Thanks for your reply, the point is that i have several pages with submit buttons and javascript enabled submit scripts. I am looking for away to avoid showing up the complete fmp URL in the request. I have read that frames is the way to deal with that. Thanks jitse
April 23, 200322 yr I use Frames. You may need to setup, at least, two Frames. One for a results listing and one for details viewing. You can use the [FMP-Link] tag to pass the request to the "results.htm" Format file. For example: <FRAMESET ROWS="110,*"> <FRAME NAME="RESULTS" SRC="[FMP-Link: ra]&-Format=results.htm.htm&-Find"> <frame name="details"> </FRAMESET> Hope this helps. Garry
April 24, 200322 yr Thanks for your reply, the point is that i have several pages with submit buttons and javascript enabled submit scripts. I am looking for away to avoid showing up the complete fmp URL in the request. I have read that frames is the way to deal with that. Thanks jitse if you set your form method from "GET" to "POST", it should do the trick without frames...
Create an account or sign in to comment