6 Replies Latest reply: Mar 23, 2016 7:46 AM by A v RSS

    Creating a custom dynamic with buttons - select multiple fields

    A v

      Hello,

       

      I've:


      3 buttons;
      1 Field;
       

      • The Button 1 defines the Field to Value 1
      • The Button 2 defines the Field to Value 2
      • The Button 3 defines the Field to Value 3

        What I’m trying to do is:

        If I press Button 1 and next press Button 2 and next press Button 3 I will have
        Field = (Value 1 | Value 2 | Value 3)
        If I press Button 1 again I will have
        Field = (Value 2 | Value 3)
        If I press Button 3 again I will have
        Field = (Value 2)

      Are you seeing the logic?

      I’ve something like this for the Action in first button:

       

      =IF(GetSelectedCount
      (Field)=0,
      Field=1,
      if(GetSelectedCount(Field)>0,
      Week='('& 1 & GetFieldSelections(Field) & ')'))


      Thanks!