Forum Discussion

JennaKate-84c64's avatar
JennaKate-84c64
Community Member
2 years ago

Triggers with Checkboxes

Hello! I  have created a slide with 7 different checkbox items for users to select and a submit button.

When the user selects the submit button, I want one layer to be shown if 0-3 checkboxes are selected, a different layer to show if 4-5 checkboxes are selected, and a third layer to show if 6-7 checkboxes are selected. It does not matter which checkboxes are selected as long as it is within the range for each layer.

I'm trying to set up variables/triggers but am a bit lost on how to do this. Thanks!

    • JennaKate-84c64's avatar
      JennaKate-84c64
      Community Member

      Thank you! I see it works beautifully on your example but on mine, not so much. The only difference between our examples is I've used a rectangle as the "total/submit" button.

      I built this out two separate times: The first time, it was showing the 4-5 layer no matter how many checkboxes I selected. I built it the exact same way the second time except now it shows the 0-3 layer no matter how many checkboxes I select. I'm not sure if it's a bug or if I'm missing something. 

      I've attached my file for review if you have some time. I appreciate it!

      • MichaelHinze's avatar
        MichaelHinze
        Community Member

        It looks like that, in order to create the 3 layers, you duplicated the baselayer (and with it all the checkboxes, button, etc. The layers should only have the feedback text. See attached a cleaned up version of your file.