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 Value Lists

Featured Replies

We are using the CDML field(dynamic) in an add WEB file. However, all

it puts on the WEB page is the code and does not pull from the database

the required Value list. Following is the code:

email: <select name ="email">

[FMP-ValueList: email , Results]

<option> [FMP-ValueListItem]

[/FMP-ValueList]

</select>

All that appears is [FMP-ValueList: email , Results]

<option> [FMP-ValueListItem]

[/FMP-ValueList]

Can anyone tell us what is wrong?

We can't even get a call to work. Perhaps we are not coding it

correctly.

Hi,

Try the following code:

email:<select name="email">[FMP-option: email, list=Results]</select>

This should do it. I

f you add: <option VALUE="" SELECTED>- Select -

before the FMP-option tag, none of the valuelist options will be automatically selected.

Example:

- Select - (This will be automatically selected)

Valuelist Item #1

Valuelist Item #2

etc..

Hope this helps.

JM

  • Author

Thanks we will try this code.

jad

quote:

Originally posted by JM:

Hi,

Try the following code:

email:<select name="email">[FMP-option: email, list=Results]</select>

This should do it. I

f you add: <option VALUE="" SELECTED>- Select -

before the FMP-option tag, none of the valuelist options will be automatically selected.

Example:

- Select - (This will be automatically selected)

Valuelist Item #1

Valuelist Item #2

etc..

Hope this helps.

JM

  • 1 month later...

Any web page with CDML codes in it needs to be "proccessed" by Web Companion so the codes can be replaced with values. In your case, I bet you are just viewing the page directly.

To get them to work takes two steps:

1) Load a page that has a link (or a form) with the nescesary parameters to process the page: -db, -lay, -format, -error, and an action tag. The -view action is good here, but you can also use -findany, the difference being that -view is processed without requiring any password checking. If you want a password before viewing, use -findany.

2) Click on the link (or submit button) and Web Companion processes the page and displays it correctly.

The two steps can be sort-of reduced to one by using a meta-redirect tag that redirects to a specified url after a predetermined wait. So 1 sec after loading the first page the browser automatically loads the "real" url to generate the page.

I use the meta tag often.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.