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.

click on field and change background color toggle

Featured Replies

I am asking if there is a script way to change the fill color of a field. along with that is there a way to change it only from color to original as in a click on click off behavior. I would like to be able to do this. thanks you in advance for your care and consideration.

You could do this with conditional formatting by setting a global variable, e.g. $$toggle to the formula:

not $$toggle

Then set the conditional formatting of the field to a color using the formula:

$$toggle

(which is just a shortcut way of saying $$toggle=1)

  • Author

this means to me it can be done but i haven't a clue on how to do it. I have uploaded a fm 10 file in which i would like the field color to change by clicking on it. I don't have any idea of how to script this.

field_color_toggle_.fp7.zip

use a Script, a trigger Field, Script Trigger, and Conditional Value

scriptTriggerFieldColor.fp7.zip

Edited by Guest

FileMaker 9 has no triggers... see if the attached file helps.

fieldcolortoggle_.fp7.zip

Edited by Guest
oh, I see FM10 was specified in the last post. Profile says 9.

He stated that he uploaded v10 in his post I responded to.

Oops I see you edited your post. :D

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.