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

Container Size Limit

Featured Replies

Hi All,

I have a container Field that is only used for Jpegs. the Problem that im having is that people are putting high and low resolution jpegs. What im trying to do is limit the size for the Jpeg or limit the jpegs to just to low, probably my best bet would be to find a way to limit a jpeg below 200KB for example. Anybody knows if this is possible.

Thanks

  • 2 weeks later...

In a related vein, is there any way to check the file size before the file is uploaded to the container field? If there's a way to do this, please let me know.

Here's a way to reject large files after they've been stored in your container field (which let's say is named "Con_File"):

Create a calculation field (let's call it Cn_FileSize) that equals:

Length ( Con_File )

Add these steps to your file uploading script after the "Insert File" step:

If [Cn_FileSize > 204800] (this would be 200K)

Show Custom Dialog ["That's too big."]

Delete Record/Request [No dialog]

End If

  • 2 months later...
  • Author

Works perfectly, BUT if users do a lot of COpy and paste into container. is there anything that would read the record and prompt the same dialog?

You could Validate the container field, in its definition:

Length ( container field ) ≤ 204800

Then show a message (option at the bottom). Also uncheck the ( ) Allow user to override (at the top), if you want to really stop them.

Edited by Guest

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.