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.

Featured Replies

Can someone tell me how to write the following expression correctly? What I'm trying to do is check if if the text entered in a that was entered in the search page matches the found result

[FMP-if: emailaddress .eq. FindValueItem]Hit[FMP-Else]Miss[/FMP-If]

I'm wanting to validate a login/password with the results page - thanks!!

Try this:

[FMP-CurrentFind]

[FMP-if: emailaddress .eq. {FindValueItem}]Hit[FMP-Else]Miss[/FMP-If]

[/FMP-CurrentFind]

Good Luck.

Garry

  • Author

Worked perfectly!! Thanks for that

  • Author

OK, that works, the problem I have now is that I want to check two fields;

[FMP-CurrentFind] [FMP-if: (emailaddress .eq. {FindValueItem}).and.(password .eq. {FindValueItem})]Hit[FMP-Else]Miss[/FMP-If] [/FMP-CurrentFind]

how can I get it to handle between the two FindValueItem values?

Hi, I make calculation fields for

username&" "&password

and reference that instead.

If you don't want to do that, you can 'nest' FMP-Ifs so that the second condition is only processed if the first is true, like this one:

[FMP-IF: weeklink::daynumber_start.lte.{FMP-Field:tuesdaynumber}]

[FMP-IF: weeklink::daynumber_end.gte.{FMP-Field:tuesdaynumber}]

<IMG SRC="[FMP-Field:weeklink::bar]" BORDER=0 ALIGN=middle>

[/FMP-IF]

[/FMP-IF]

regards, jeff

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.