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.

Container field content formatting

Featured Replies

Morning. I'm linking images into a container field by inputting a link into the container field with the result being an image. This has been discussed on this forum before and works like a charm.

I can however (for the life of me) not figure out how to 'center' that resulting photo within the container field. Can anyone give me a hint?

much appreciated

M

  • Author

apologies, it's a calculation field with result container, there we go .. formatting issue remains

  • Author

got it, haha, sometimes writing things down alone helps :B

Graphic Format command is where to look

  • 1 year later...
  • Author

So, I'm kinda reviving this thread here .. still linking an image into a calculation field (with result container) ..

This time I'm curious as to how I control the 'file not found' message ..

I'd like to let the user know that they in fact haven't put a file in that particular folder rather than the system telling it that it can't find it ..

Is it possible to do such a thing?

I tried to put an if statement into the calculation:

if( get(lasterror) = xxx ; 'link to no file found image' ; 'link to actual image')

I tried various error codes (instead of the xxx) but to no avail ..

help?

This time I'm curious as to how I control the 'file not found' message ..

I'd like to let the user know that they in fact haven't put a file in that particular folder rather than the system telling it that it can't find it ..

Is it possible to do such a thing?

I think this type of error can only be caught in a script. The container's value is only deferenced at the time the container is displayed.

You could explore triggering a script (FileMaker 10 or later) when the record is displayed that would attempt to validate the reference by inserting it into a non-visible global container field to catch the error. The user would still be shown the built-in error message inside the original container, but you could pop up a dialog that is more descriptive and provides scripted options.

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.