Skip to main content
Nintex Community Menu Bar

newbie question re 'Recalculate formula on new mode'

  • September 15, 2015
  • 2 replies
  • 16 views

Forum|alt.badge.img+1

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.

2 replies

Forum|alt.badge.img+16
  • September 18, 2015

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")


Forum|alt.badge.img+1
  • Author
  • September 18, 2015

woops silly me, thanks for that.