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.

Include a button only if it's useful...

Featured Replies

I have two tables: project records and outcome recordss. Not every project produces outcomes.

I have a functioning button on the projects layout that triggers a script that finds and displays outcomes that cite the currently displayed project as their 'parent'.

I would like to exclude this button from the layout if there are no find results. (Or at the very least, change it so that it says "No related outcomes"). It's not good enough to force the user to click and be confronted with "No results".

I have two questions:

1. How do I exclude or change the button, based on the value of a variable? Note: this does need to work in IWP, so conditional formatting may not be a good option.

2. In order to determine the key "hide" or "show" variable, do I need to run the find script each time a user enters a new record and determine whether there are relevant results for that record? Or can I do this in the background somehow, and create a matrix of all records and the value of their hide/show variable?

Thanks in advance...

  • Newbies

Hi,

You can changed the button's caption depending upon the condition.I have attached the solution (.fp7) file.Is attached solution file satisfied your requirement?Pls let me know...

ButtonFormatting.zip

Edited by Guest

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.