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.

dynamic popup list will not work! HELP!

Featured Replies

Hi...

I need help with the following....

My database consists of Carbrands and Types. In FMpro I have made an pop-up list for the Type field which only shows the corresponding Types based on the chosen Brand in the first field. (determined by relationship) I don't know how to make this happen in CDML. I suppose I have to submit a value to fill in the Brand field.

so if anyone can help me with providing me with this "TAG" or an link to a site with such an example. I'd really appreciate it.

Thanks

Tianshi

Pop-up's (Vlauelists) using related values do not work through CDML.

Some workarounds exist. Check the archives, I will also check them later today.

All the best.

Garry

Tian,

You have a couple of options to solve the first problem, i.e. Related ValueLists.

One to consider, is the use of [FMP-InlineAction] functions to populate the ValueList directly from the related file.

The second problem is to populate Pop-ups with related values when the Main ValueList (Pop-up) is changed.

For a Dynamic ValueList you need to decide between, acessing the database each time the Main ValueList is changed, or loading the values into Javascript Arrays, then using Javascript to change the dependent ValueList (Pop-up) each time a change is made.

Hope this helps.

Garry

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.