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.

Referencing an external Image...

Featured Replies

Hi,

I have a calculation set up to show the state of a checkbox (True or False) if a container is populated.

Now I need to alter this slightly, I need the checkbox to show False (off) if; has been pasted into the container and True if; C:windowsdatafilesassetsxyzfoto.png has been used instead.

How do I reference these external files correctly?

My current script is;

If (IsEmpty(Foto) ;"F";"T")

...which works as normal.

Thanks!

place "C:windowsdatafiles interfacenopic.png" in a global container field. then schange if statement as like below:

if(photo_field = global_container ; "F";"T")

  • Author

Hi Osman - many thanks! Saved me hours of trial-&-error (mostly error)

If(Foto = GlobalFoto ; "F";"T") worked perfectly; the checkbox is switched on only when a graphic OTHER than the one in the field is pasted into

Frank.

  • Author

...Just worked out the correct script;

[color:purple]If(Foto = GlobalFoto or (IsEmpty(Foto));"F";"T")

this still shows checkbox UNCHECKED if field is left empty...

Frank.

Edited by Guest

I tried same calculation but its works normal

  • Author

...There are 2 calculations - which did you try, and what is your definition of 'normal'?

[color:purple]Frank

calculation:

If(Foto = GlobalFoto or IsEmpty(Foto);"F";"T")

amd several results are listed below:

- if field is left empty result is F

- if nopic.png image appears result is F

- otherwise result is T

i think these are desired results.

try unchecking "Do not evaluate if the reference fields are empty" option in calculation dialog box.

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.