AnsweredAssumed Answered

newbie question re 'Recalculate formula on new mode'

Question asked by daveg00 on Sep 14, 2015
Latest reply on Sep 18, 2015 by daveg00

I created a form variable:

I set the formula to be

If(Is new Mode, "1", "0")


When I create a new item using the form (or use preview), the value always evaluates to "0".


My aim is to be able to only calculate a value when first composing the item, rather than it re-calculating each time.


Why won't it evaluate to "0" ? thanks.


Alternatively, in javascript, how can I calculate a value only in new mode, rather than each time the form is edited.