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.

hiding bottom blank portal row

Featured Replies

I have Elements listed in a portal on a layout in my Projects file. I want to force the users to use a button I have created called "Create New Element". It is attached to an extremely important script. The users are in the habit with this and other databases of simply going to the last row in a portal and typing to create the related records. Is there any way to hide this row, or lock it, or attach an error message or... something? I even put a large red note on the layout. Oh, and earlier tried a message that appears directly before entering the layout instructing them to do so. They read it and heeded it once and then fell back to old habits. It just doesn't matter how many times I remind them.

Thanks -- Kay

Truce is better than friction.

You could duplicate the relationship, then edit it so that the 'Allow creation of related records' box is not checked.

Use the new relationship to display the portal, and the existing one when triggered by the script.

  • Author

Have mercy! Why didn't I think of that? laugh.gif" border="0 Thanks neile.

Nice to see someone else on from T.O. I was beginning to think I was the only Canuck using FMP. -- Kay

You can under certain circumstances keep the blamk row as well. Put a button right over the portal row contents. The associated script uses an IF statement to determine whether the portal row is empty or not:

If [ IsEmpty (relationship::key) ]

If it is true the row is empty so run the script to create a new related record. If it's not true then make the script do whatever else you want (go to field etc).

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.