Toggling visibility of widgets with a checkbox on the client?
===

I am attempting to use a checkbox to toggle visibility of certain widgets. However I'm really struggling to get client side handlers to toggle them correctly. 

Here's my best attempt

    walkthroughMode.addValueChangeHandler(app.createClientHandler()
                                          .validateMatches(walkthroughMode, "on")
                                          .forTargets(issueAutoFix)
                                          .setVisible(true)
                                          .forTargets(issueAutoFixLabel)
                                          .setVisible(true));
    walkthroughMode.addValueChangeHandler(app.createClientHandler()
                                          .validateMatches(walkthroughMode, "off")
                                          .forTargets(issueAutoFix)
                                          .setVisible(false)
                                          .forTargets(issueAutoFixLabel)
                                          .setVisible(false));

Theoretically it should work but when I toggle the checkbox nothing happens. I've tried several different values with and without the "i" flag, none of which have worked.

Does anyone have any suggestions on how to do this, *without* using server side handlers?