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.

Add Dynamic Value Lists

Featured Replies

I am strill trying to use 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]

I tried the following:

Try the following code:

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

This should do it. If 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

However this does not work either. Does anyone know if since this is an add form if I need to put the full path as in a <a href....> before I put the <select>? I have tried this but I cannot seem to get the code correct.

Jo Ann

You cannot browse these format files directly in the browser, you have to instruct Web Companion to "build" them with some sort of adtion tag -- the -View action is the most convenient.

This means that loading your page will be a two-step process: one goes to a "static" html page that has a link on it with the CDML codes needed to generate the page. This will be something like..

FMPro?-db=file.fp3&-lay=layout&-format=page.htm&-error=error.htm&-View

Your fancy web page will be generated once the user clicks on the link. Alternatively some people use a META refresh to automatically redirect the user to the FMP? url.

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.