Brian Dunning's FileMaker Custom Functions

ToggleFlag_cf ( myfield ; myVL ; pos ; neg )

Toggles between All and Clear for setting checkbox sets

  Average rating: 4.6 (34 votes) Log in to vote

Steve Gerow   Steve Gerow
Abrazos Data Consulting, Inc.

Share on Facebook Share on Twitter

  Sample input:
ToggleFlag_cf ( Colors ; "RedGreenBlue" ; "All" ; "Clear" )
  Sample output:
Red & Green = "All"
Red, Green & Blue = "Clear"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Supplies button text: "All" if none or some checkboxes checked and user wants to check them all; "Clear" if all are checked and user wishes to clear them.

Compares valuecount of value list itself to number of checked values in the field itself.



Oreste Schiavone   Oreste Schiavone, New York
Jul 1, 2009

I am not sure how this used.

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: