Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

results in frames (very basic Q)

Featured Replies

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

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.

  • 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

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

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.