AnsweredAssumed Answered

Pass a fieldname to a script I can use is a Calculation

Question asked by keithstehlik on Sep 17, 2018
Latest reply on Sep 17, 2018 by philmodjunk

I am trying to create a button to toggle a field through 3 different values. I would like to use this button to do this to multiple fields without creating a script for each field. Is there a way to have the field name passed in such a way that I can use this in an if statement

 

If ('passed field' = 1)

     set 'passed field' = 2

Else If ('passed field' =2)

     set 'passed field' = 0

Else

     set 'passed field' = 0

Outcomes