7 Replies Latest reply: Oct 13, 2017 7:18 AM by Sunny Talwar RSS

    Error: Garbage after expression: ')'

    Anne McCabe

      Hi

       

      I am adding a trigger to a field in document properties using the following if statement

       

      =If(GetFieldSelections([Analytical Type])='Timeliness',1,
      If(GetFieldSelections([Analytical Type])='Accuracy',2,
      If(GetFieldSelections([Analytical Type])='Completeness',3,
      If(GetFieldSelections([Analytical Type])='Validity',4,
      0))))

       

      However I keep getting the error above.

       

      Any ideas what wrong?