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.