Skip 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 won't populate

Featured Replies

The following piece of code leaves my pop-up unpopulated. The field PatientStatus is on the layout specified in -lay and the value list attached to that field is also called PatientStatus. Why doesn't this work?

<SELECT NAME="PatientStatus">

[FMP-option: PatientStatus]

</SELECT>

Thanks-

Courtney

From CDML datbase:




Tag [FMP-ValueList]



What it does

Repeats the HTML between [FMP-ValueList] and [/FMP-Valuelist]

for all the values in the specified value list. 



Syntax

	[FMP-ValueList: Field Name , List=Value List Name ]



Parameter(s)

	First parameter:  Name of a field that the value

list is associated with.



	Second parameter (optional):  Name of a value

list to use. The default is to use the value list

associated with the field on the specified layout.



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

		 -->



Other tags that are required

	[/FMP-ValueList]



See also

	[FMP-Option], [FMP-ValueListChecked], [FMP-ValueListItem]



  • Author

Anatoli-

Yes I have seen that in the CDML ref db, but I have also seen this:

Parameter(s)

First parameter: Name of a field that the value list is associated with.

Second parameter (optional): Name of a value list to use, the default is to use the value list associated with the field on the specified layout.

Syntax example(s)

Display a pop-up menu with value list using an HTML file

<select name="Groups">

[FMP-option: Groups, list=GroupList]

</select>

And I am using this exact syntax on another webpage. So that does not explain WHY it doesn't work.

Thanks-

Courtney

  • Author

The code snippet in my original post does in fact work. Sorry!

-Courtney

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.