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.
Juggernaut

Featured Replies

I want to place a global container field with the "delete" icon at the end of a portal row, it will be attached to a script to delete a row.

The thing is that I don't want the image to appear on the last empty row of the portal. Therefore I would like to place a calculation container field that won't display the image if the row is empty (last row).

The questions are: What would be the best calculation? do I have to make a calculation for each table, or a general calculation will work for all portals?

Edited by Guest

Use a global container field to hold the image (doesn't matter what table this resides in,) and a calculation with container result equal to the global (this calc must reside in the related table.) Place the related calculation field on the portal.

You might also consider not allowing creation through this portal and make a dedicated relationship specifically for creating new records. Then just automate the process through a script.

~Genx

  • Author

Thank you very much for the answers, Genx, could you expand a little bit more on your proposal. Are you talking about entering the data in a group of global fields and then using a script to place them in the portal, or something else?

Alejandro

No, I just meant that you might create a blank record in the other table so that that you can then enter data into the newly created row in the portal.

The dedicated record creation relationship was simply one way of achieving this end.

  • 2 weeks later...

Hi Ender

I have a similar situation but I must be missing something!

Working on a volunteer database and I want to show a red flag (global container field) when a volunteer has reached 5 or 10 years of service. The Years of service field is a calculation field (year current date - year date accredited). I only want the graphic to appear when that calculation equals 5 or 10 etc.

Is this possible? Appreciate your posts.

Service Pin (calculation, container result) = case(Years of Service = 5 or Years of Service = 10; red flag)

Thanks Ender - on to it now.

jwren

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.