2 Replies Latest reply: Oct 28, 2015 6:08 AM by Daniel Nasseh RSS

    Changing a variable if a specific field value is selected

    Daniel Nasseh

      Hello,

       

      i defined a variable in my document:

      showBrain = 0

       

      Now i have an image with the condition that it will only be shown if showBrain = 1.

       

      I now need some kind of trigger or something similar which detects when a specific value in a table is selected.

       

      So for instance i have the table:

      Eye

      Brain

      Stomache

      ...

      Only if the Brain is selected (exclusively meaning no other value in the table) then the variable showBrain is switched to =1.

      Eye

      Brain

      Stomache

      ...

       

      Also i need a second trigger. Even if the Brain is selected but anything else within the table is selected then the variable should switch back to showBrain =0.

       

      My biggest problem is that i do not exactly know where and how to define this trigger. I guess in the trigger properties for the document?

      But i am not sure. Any help is very much appreciated!