Skip to main content

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.

That worked for me.

If you are trying it on the Preview window be sure to set the mode option to "New"

Or you could try using if(  equals(Is New Mode,true)  ,"NewMode", "NoNewMode")


woops silly me, thanks for that.


Reply