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 field "inactive" based on another field value

Featured Replies

I'm not sure if this is possible, but I was wondering if I can keep a user from entering ANY data into field1 if the value of field2 = "C". If the value is not "C," then they can enter anything they want into field1.

I have a database that customers can use to generate product orders by finding items, entering a quantity and clicking an ADD button to add the item to their order.

However, some of the items on the product list (which are pulled into a layout from a portal) can't be ordered by themselves because they are part of a larger kit, even though they have their own unique item number, product description and photo. A field called KITCODE will contain a "C" of the item is a kit item that can't be ordered by itself and there is another KITWARNING field that tells the user the item is a KIT ITEM.

Right now, I have it set up so that when they enter a quantity and try to add a kit item, FileMaker will clear what they entered and tell them they can't order the item by itself and it asks them to look for the main item listed above the kit item and add that one instead. But it might be better if they just can't enter a quantity at all for those kit items.

I was trying to either make the quantity field not editable for just those kit items, or maybe have the ADD button disappear for those items. Right now, the ADD button is a button, but conceivably, I could make it a calculation field that would say ADD if kit code does not equal C. That might work, but if I can somehow disable a field for just certain records, that might work better. But disappearing items are not an option for conditional formatting.

Any ideas would be appreciated.

Edited by Guest

Use an OnObjectEnter trigger for field Field1.

The script will look at the contents of Field2 and, if it contains "C", will commit the record.

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.