8 Comments

  1. Clear & concise. Thanks. I particularly appreciate the explanation of what does & does not trigger the “hide when” calc refresh.

    A (slightly) simpler formula that I have been using is
    not Table::ToggleField

    I’m sure my version is not measurably faster or slower, but it is easier to type.

  2. I liked your explanation but it only works when you have one button on the layout.
    What would you do if you have 15 buttons?
    Would you use repeating functions to accomplish it?

    1. Hi Zillo, Are you talking about having 15 toggle buttons on a layout? You could use the field level version from example 3 with a different field backing each button. You could also do this with repeating variables. For example:

      Set Variable [ $$simpleToggle[2] ; Abs ( $$simpleToggle[2] - 1 ) ]

      I would lean toward the field level version, assuming that you have 15 toggles for which you need to store data.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.