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.

Show/Hide button based on a calculation

Featured Replies

Hi guys,

I am trying to make a button appear or disappear on a layout based on a calculation.

If field "X" is not empty, I want to have a button appear on the layout that allow to execute a script.

I defined two fields:

1: Calculation field with

If ( not IsEmpty ( Implant::Failure Time );Implant::Failed_New_co)

2: Container field Failed_New_co

The problem is that the copied icon loses its assigned script once I pasted it in the Container field.

Any help please?!

Thank you

Paul

An example speaks louder than words!

The condition to show the button is a boolean calculation:

result 1 when the condition is met;

result 0 otherwise.

The button is in another table with a constant 1

Relation: when 1 = 1 => show the button.

Happy FileMaking Ralph Nusser

  • Author

Ralph, thank you very much for your reply

I donno why I cant save your attached file. Can you please uploaded again?

There is a current issues with the forums and attached files. Today I posted a link to a similar question.

http://fmforums.com/forum/showpost.php?post/303883/

  • Author

Thank you for your reply

Ill try later

  • Author

Mr Vodka

I got the Visibility file from your website.

Beautiful!!!!!

Thanx

Is not my website. Its John Mark Osborne's.

  • 2 weeks later...

Unfortuntly i can't even test it because the program is locked, let alone see how he did the coding so that i can replicate it.

The technique is on many sites. Try databasepros.com

Thats where the link leads to...

The file is unlocked. You have to unzip it first (take the file out of the zip)...

Second, scripting has nothing to do with the technique. It is purely relational driven.

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.