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.

field content based on username

Featured Replies

  • Newbies

I'm trying to have the contents of a field (container, global or otherwise) show an image based on the person logged in (username).

If "bob" is the user, his associated image (stored on the server) will be shown on a given layout.

I've read a bunch of the posts in here and in the container sub group, but can't seem to nail down this answer. My initial guess was a calculation "if" statement with the test results simply referencing the filename (bob.jpg), but can't seem to get that to work either.

I would start with a user preference/session table where you could store the user's image. Make sure that each user's account name is unique. Then as part of the opening script, capture the user's account name in a global text field and with a relationship keyed from this global field to the session table, you should be able to set another global container field with the associated image from the session table. Since the set field is a global field, you can now reference this field anywhere in your solution and it dispaly individual data for each user.

  • Author
  • Newbies

Thank you, Thank you!!

You are a gentleman and a scholar Mr. Vodka.

I mistakenly used the "Get Username" for a bit until I realized the error of my ways. Now we're cookin' w/ gas.

-jason.

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.