Jump to content

This topic is 7779 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!!

Posted

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?

Posted

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

This topic is 7779 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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