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.

Menu based on value of field without changing layout

Featured Replies

Hey All,

I am working on a solution where each administrator has their own page. In order to keep the number of layouts I have to a minimum I was wondering if anyone had found a way to change visual objects, such as a menu, based on a field. Confusing Right?

For Example

SET- will be a text field, each time I click a button, the field would be set with the script parameter, ie. the word written on the button, signifying which menu set I would like to appear.

MENU

Students

Room Manipulation

Public Area Damage

Lets say I select the Students button. Without the Layout changing I would like to bring up a students menu so that the user can decide where to go next. It would look like this.

STUDENT MENU

Search For Student

Enter New Student

Run A report

I am currently using images as my buttons if that makes a difference. And the versions of FileMaker I have available are FMP9 Advanced And FMP10(not advanced)

I can figure it out using multiple layouts, but I when I try to use conditional formatting, I cannot quite figure it out because I can only change text color. I was hoping there was a way to show a graphic object only if a field is equal to a specific value. Or any other way I can get this to work!!

Any help is appreciated.

Thanks,

Bob

When you say "menu" you mean a group of static buttons on the layout, right? Not a real menu as in FMPA's "custom menus".

  • Author

Yes, that is correct.

See here for some ideas:

http://fmforums.com/forum/topic/61640-fake-an-apple-accordian-in-fm/page__p__292899#entry292899

  • Author

Thanks,

I don't know how I feel about the accordion idea because I like the graphic interface that I have now. I suppose I could use container fields, but any other ideas?

You can still use a tab control object to display different buttons at different times. The exact arrangement is up to you.

You could also change the text displayed on existing buttons - but then your scripts will become more complex.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.