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.

value list with relation

Featured Replies

  • Newbies

cant find any way to make a value list created by a field from a related file to work. in filemaker its working properly and i cant find any documentation how to display a value list of that kind on the web. please give me some suggestions.

Try this...

<select name="related_fp3_filename::related_field">

[FMP-option: related_fp3_filename::related_field, list=value_list_name]

</select>

  • Make sure the related field is in your file's -layout specified in your page.

  • You don't have to include the ".fp3" extension for the name of the related fp3 file.

[This message has been edited by chandra (edited August 25, 2000).]

  • Author
  • Newbies

its not working...???-(

i tried all you wrote, even changed the related filename to relationname and so on. its not working. i need this feature. help please

Could you post the HTML code you used in your format file as well as how the Browser interprets the code?

ie. post the HTML source from the format file AND the HTML source from "View Source" within your browser.

Another thing you could try in the interim (learn to walk before you run smile.gif) is to create a simple value list in your main file and see if you can get it to display properly on your web page. This might help you troubleshooot your the related-field value list problem.

This is a direct copy/paste from the CDML Reference.fp3 that comes with FM Pro 4.1

quote:

Syntax example(s)

Display value List using an HTML file

[FMP-ValueList: Groups, List=GroupList]

<input type="radio" name="Groups"

value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem]

[/FMP-ValueList]

<!-- After processing, the HTML sent to the browser could look like:

<input type="radio" name="Groups"

value="Production" >Production

<input type="radio" name="Groups"

value="Sales" checked>Sales

<input type="radio" name="Groups"

value="Support" >Support

-->


Hope this helps.

i don't know if anyone else has ever had this problem, but unless i use a meta refresh, none of my pop-up menus work. if i refresh the page it works fine. I'm not sure why, but this happens with everysingle one of my Pop-ups! Oh well, it's a pretty easy fix that you might want to try.

by the way, if anyone knows why this happens or how it's fixed, let me know. The refresh is fine, i'm just curious as to what's going on and if anyone has experienced the same thing.

quote:

Originally posted by yafreax:

i don't know if anyone else has ever had this problem, but unless i use a meta refresh, none of my pop-up menus work. if i refresh the page it works fine. I'm not sure why, but this happens with everysingle one of my Pop-ups! Oh well, it's a pretty easy fix that you might want to try.

by the way, if anyone knows why this happens or how it's fixed, let me know. The refresh is fine, i'm just curious as to what's going on and if anyone has experienced the same thing.

I have not had this problem. I assume you are talking about the form element <select> when you talk about pop-up menus? I am just curious, smile.gif what do you mean when you say they "don't work"? Is it that they are not there, or that they are there, but the pop-up menu is empty?

  • 2 weeks later...

Yafreax

What's a meta refresh? Can you post the html code that makes this powerful magic happen?

Thanks

quote:

Originally posted by Vaughan:

What's a meta refresh? Can you post the html code that makes this powerful magic happen?


The <meta> tag goes into a HTML in the <head> section.

Here's the format:

<meta http-equiv="Refresh" content="Value">

"Value" can be an integer of the number of seconds before the browser reloads the same document. For example, <meta http-equiv="Refresh" content="5"> would reload the HTML document every 5 seconds.

The <meta> refresh can also be used to re-direct a browser to a new URL by including an absolute URL to the "Value". For example:

<meta http-equiv="Refresh" content="5; URL=http://some_new_url.com/home.html">

After displaying the current document (where the <meta> tag is) for 5 seconds, go retrieve home.html from the some_new_url.com web server.

everything she just said is right. I would use a jump page (empty page with just the meta refresh tag in the head) to refresh the page. I have since figured out why i've need to do this. But first to answer a previous question. . . when we say it doesn't work, it would show that it's supposed to be a pop up menu but the only option would be the actual code such as (FMP-valuelist. . . . etc.).

Here's why your popup may not be working. Obviously you have to be using a link to get to your page. If the link says something like " /page.htm" then your popup will not work. However if you use the FMPro links such as "FMPro?-db=databasename&-lay=layoutname&-format=page.htm&-view"

BTW if you want the popup menu on the very first page. Make it the second page by using the "index.htm" page to be a jump page as explained above. this should work (hopefully).

Jeremy

[This message has been edited by yafreax (edited September 12, 2000).]

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.