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.

testing value list item

Featured Replies

I'm creating a web page that allows users to edit records. I'd like to simulate the pop up lists on my database by using <select> in the html. Normally, I'd just use:

<select name="name">

[FMP-option: fieldname, list=listname]

</select>

However, because users can also enter their own data in addition to using the pop up list in the database, I want to test for what's in the field and match it against my value list before creating the <select>. Here's what I'm trying, but it's not working:

<select name="name">

[FMP-If: fieldname .neq. valueListItem]

<option>[FMP-FIELD: fieldname]

[/FMP-If]

[FMP-option: fieldname, list=listname]

</select>

I can't figure out what "valueListItem" is returning, if anything, and the CDML reference doesn't give much help. Any ideas/suggestions would be greatly appreciated. Thanks.

well, this doesn't exactly answer your question, but i do a work around for this as follows.

It requires two fields:

Field A : Text entry field

Field B: Pop-up with values from on Field A

then what would do (if you don't already see it) have field B first as a pop-up, then a dialog such as, if item isn't in list, type in here, or whatever. and have Field A as the "Other." This is a pretty simple, fast way of doing it.

hope it helps

yafreax

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.