Jump to content

Portal Question


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

Recommended Posts

Haven't been able to figure this one out yet...using FM Pro 4.

I have a portal showing several records with several fields for each record. Some of the fields need to remain empty until an action occurs. The data in the portal rows/records line up as long as each field in each portal record contains data. However, if a portal record has an empty field, that field for the remaining portal records shifts up.

In FMP this is no problem.

I have tried using an [FMP-if] command to input an "N/A" if the field is blank but so far that hasn't worked.

Any ideas would be appreciated.

JM

------------------

Link to comment
Share on other sites

Use an [FMP-If] statement within the protal to check whether the field is empty or not. If it is empty, insert a non-breaking space and/or a <p> tag to fill-out the table row.

I just read you tried somethig similar... no problem, do it at the FMP database end instead. Create a calculation field in the database. Something like

If[isEmpty[field]; " "; field]

and display this calc field in the portal instead.

Link to comment
Share on other sites

The [FMP-if] may actually work. I found an error in my code. Used the wrong type of braket.

However, your suggestion worked like a charm. It was also probably faster to set up since I have 3 fields that can be blank.

Thanks!

JM

Link to comment
Share on other sites

This topic is 8671 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.