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.

"Grey out" button based on field content?

Featured Replies

  • Author

I have a button that performs a Send Event function. I only want this function to be available if a txt_complete field has a value of "Complete"

Is there a way to have the button be inactive or greyed out unless the value of the field is like above?

This would be similar to the way many websites disable a "Continue" button unless you check a "Accept agreement" box.

Thanks for any help

I have a button that performs a Send Event function. I only want this function to be available if a txt_complete field has a value of "Complete"

Is there a way to have the button be inactive or greyed out unless the value of the field is like above?

This would be similar to the way many websites disable a "Continue" button unless you check a "Accept agreement" box.

Thanks for any help

  • Author

I have a button that performs a Send Event function. I only want this function to be available if a txt_complete field has a value of "Complete"

Is there a way to have the button be inactive or greyed out unless the value of the field is like above?

This would be similar to the way many websites disable a "Continue" button unless you check a "Accept agreement" box.

Thanks for any help

Deego:

In the script attached to the button, you can verify if the text box has the right value, and either continue or exit your script.

-Stanley

Deego:

In the script attached to the button, you can verify if the text box has the right value, and either continue or exit your script.

-Stanley

Deego:

In the script attached to the button, you can verify if the text box has the right value, and either continue or exit your script.

-Stanley

  • Author

AH! I wasn't thinking of it like this. This works perfectly, thank you!

  • Author

AH! I wasn't thinking of it like this. This works perfectly, thank you!

  • Author

AH! I wasn't thinking of it like this. This works perfectly, thank you!

Another very powerful technique is to use self-relationships and portals to hide interface elements.

Check out the "More visibility" example discussed here:

http://www.fmforums.com/threads/showflat...1/o/all/fpart/1

It's quite amazing when you see it in operation.

Another very powerful technique is to use self-relationships and portals to hide interface elements.

Check out the "More visibility" example discussed here:

http://www.fmforums.com/threads/showflat...1/o/all/fpart/1

It's quite amazing when you see it in operation.

Another very powerful technique is to use self-relationships and portals to hide interface elements.

Check out the "More visibility" example discussed here:

http://www.fmforums.com/threads/showflat...1/o/all/fpart/1

It's quite amazing when you see it in operation.

Also, you can use a calculation field to set the color of its own text (black vs. grey) depending on the values of other fields. That calc field can be part of a button with a script that checks the same field value the calc uses. This way, you can have a visible button which is greyed out and doesn't do anything, or is full black and does what it purports to, depending on whatever criteria you want.

Also, you can use a calculation field to set the color of its own text (black vs. grey) depending on the values of other fields. That calc field can be part of a button with a script that checks the same field value the calc uses. This way, you can have a visible button which is greyed out and doesn't do anything, or is full black and does what it purports to, depending on whatever criteria you want.

Also, you can use a calculation field to set the color of its own text (black vs. grey) depending on the values of other fields. That calc field can be part of a button with a script that checks the same field value the calc uses. This way, you can have a visible button which is greyed out and doesn't do anything, or is full black and does what it purports to, depending on whatever criteria you want.

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.