magsuk Posted January 5, 2004 Share Posted January 5, 2004 I'm trying to create an FMP-If..... FMP-Else.... statement to do the following; If the field 'Abstract' is empty (contains no text), to return the value 'Not available'. If the field 'Abstract' isn't empty (contains text), to return the value 'View' as a hyperlink to another page. The same applies to a second field, called URL. Is this possible? Link to comment Share on other sites More sharing options...
Unable Posted January 5, 2004 Share Posted January 5, 2004 You might find the Sample File Forum useful or not. Link to comment Share on other sites More sharing options...
John Caballero Posted January 5, 2004 Share Posted January 5, 2004 Try creating a boolean caculation, cIsEmpty, that tests for the empty field. [FMP-IF cIsEmpty.eq.1] Not available [FMP-ELSE] View [/FMP-IF] Link to comment Share on other sites More sharing options...
Anatoli Posted January 5, 2004 Share Posted January 5, 2004 From CDML reference database: [FMP-If: ClientUserName .neq.] Everyone who has entered a user name will see this message. [/FMP-If] Link to comment Share on other sites More sharing options...
Garry Claridge Posted January 5, 2004 Share Posted January 5, 2004 OR [FMP-If: Abstract .eq.] Not Available [FMP-Else] <a href="[FMP-Field:Abstract]">View</a> [/FMP-If] All the best. Garry Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7410 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 accountSign in
Already have an account? Sign in here.
Sign In Now