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.

if there is a value in a search field?

Featured Replies

I am trying to determine if a search field on a form has a value after it is submited.

I have used:

[FMP-If: TicketN .gt. 0 ]

this does not seam to do it.

",,,a search field on a form has a value after..."

Not quite following what you are trying to accomplish. If the search won't happen without something in that field, then you should get an error if the field was empty. If a search is being performed on multiple fields, but a client is able to leave one of those fields blank and still perform the search, is that what you desire? If not, control the client input with JavaScript.

If you are trying to display certain data based on a field containing a data bit or being empty, you may want to use .cn.

If you are trying to dispaly certain data based on a field containing a specific value you may want to use .eq. or .neq.

If you are just curious about what data is being submitted for the search then you can go to the db file and select "Modify Last Find".

  • Author

if one (ticket #) of the four search fields has a value in it, the I will display the results different from any other search combination.

so if ticket# is gt zero... resultA, else resultB

"I have used:

[FMP-If: TicketN .gt. 0 ]"

If there are four search fields, they cannot all be named TicketN.

See your CDMLRD under the Replacement tag [FMP-If], and for help with this syntax look for "Text or numeric comparisons depending on field type" under "First parameter...".

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.