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.

Make a field inaccessible based on flag

Featured Replies

Is there a way to make a particular field entry accessible or inacessible based on another flag field? Or better yet, is it possible to make layout items disappear or appear based on the flag?

Let me try to explain. I have a layout on which a user will check "Yes" or "No" on a flag field with radio buttons.

What I would like to do is make another field box either disappear or become inacessible in browse mode if the flag field is "No", and conversely appear or become accessible if the flag is "Yes".

However, I'm not sure how to approach this problem. Any nudge in the right direction would be most appreciated.

To make it disappear place a calculation field above it of the type "container". If the flag field = "no", the calculation will set it to the contents of a container field with storage set to global (I keep these types of global fields in a separate table). That field should be filled with a rectangle of the same colour as the background of the field you want to disappear.

On your original layout make that calculation field (container) a button by attaching a script to it: if flag = "yes" go to ...Name of field beneath the calculation/container field.

The field will be both invisible and inaccessible when the flag field is set to No, and visible and accessible when it is set to Yes.

Edited by Guest

  • Author

thanks guys, these were most helpful.

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.