October 9, 200322 yr 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!!
October 9, 200322 yr Try this: [FMP-CurrentFind] [FMP-if: emailaddress .eq. {FindValueItem}]Hit[FMP-Else]Miss[/FMP-If] [/FMP-CurrentFind] Good Luck. Garry
October 15, 200322 yr 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?
October 16, 200322 yr 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