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.

Limit Portal Entries

Featured Replies

Hi,

I am wondering if there is a way to Limit how many records can be created in a portal.

For example... I am recreating a form in FMP..

I wanted to use a Giant Portal, that has all of the different Fields being used. The catch is, I only want to allow at max, 12 rows of data per 1 Parent Record. What usually happens is the portal extends to allow more records, I don't want that to happen. I want it to stop at 12.

I am trying to make it fit perfectly on a sheet... and I don't want to allow anything over 12...

I know another way of doing it, but it requires a lot more time and work setting up a page simply for submitting data... this would save me a lot of time if I could have them just key it directly into the portal.

In your script to create the portal row record include a subscript at the start to test for the number of rows

pseudo code

If Count(relatedtable::keyfield)= 12

Show dialog "error - maximum number created"; OK

Halt script

End if

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.