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.

dropdown lists in CDML

Featured Replies

I seem to have a problem to get my valuelists from the db to my webinterface.

I've used the following code in my html pages

choose

[FMP-option: field1, list=list1]

I've copied this from a working solution and adapted it to my fields and lists.

I've tried the help function on this forum and i've tried google but can't find the solution...

A simple version of the db and html pages can be found here

I use filemaker pro 6 and panther.

Thanks

Hi, w! For some reason, I couldn't open the downloaded db to check, but if this is your actual code taken from another working example, could it be a simple typo in your -lay tag... "normaal" or "normal", or was that just a typo in the post or a language issue?

--ST

Hi Wobbie,

Try it this way:

[FMP-VALUELIST: field1 ,LIST=list1]

[FMP-VALUELISTITEM][/FMP-VALUELIST]

See you

  • Author

Steve T -> the name of the layout is a language issue :(-) I've dubbelchecked the DB and layout name, the name of the field and the list. Everything looks ok...

Jukkie -> The example didn't work either. When i implemented this code i just got a dropdown menu that displayed part of the code and not the items in my valuelist...

I have no idea why this won't work...

Edited by Guest

Hi, w! Here is some code from a working solution I had for radio buttons...

[FMP-ValueList: eventtype, list=eventtype_list]

[FMP-ValueListItem]

[/FMP-ValueList]

Adpating it for a dropdown menu, I'd suggest trying...

title

[FMP-ValueList: eventtype, list=eventtype_list]

[FMP-ValueLIstItem]

[/FMP-ValueList]

Hope it helps!

--ST

Hello Wobbie,

I did this to make your solution work.

First of all I put the test.fp5 database as a multi user and enabled web.

After that I made a default page with a link to your searh page. The link is a CDML tag.

When you click the link you connect to the database and get the result you want.

Put de enclosed (see the Attached file: test.zip) default.htm en search.htm page in your filemaker web route, open the database test.fp5.

type in browser: http://localhost/default.htm

I hope you can make it work.

Suc6

Jukkie

test.zip

Edited by Guest

  • Author

Works perfectly know! Thanks for the help.

Even my original code works if i use a cdml link to connect to the database.

Thats right Wobbie,

The page that contains information from a filemaker database needs first to connect to that database so it can collect the information what is needed to show online.

Greetings Jukkie

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.