Skip to main content
Nintex Community Menu Bar

SOLUTION: Detect form mode using JavaScript

  • August 29, 2019
  • 2 replies
  • 375 views

ms7
Forum|alt.badge.img+4

You can detect your form mode in JavaScript using the following syntax:

':IsNewMode'':IsEditMode'':IsDisplayMode'

For example:

if ':IsNewMode' {  alert('Form is in New mode');}if ':IsEditMode' {  alert('Form is in Edit mode');}if ':IsDisplayMode' {  alert('Form is in Display mode');}

2 replies

Forum|alt.badge.img+17
  • October 11, 2019

@ms7 I am not sure what the purpose of this post was. Since its not a question, do you want to write more info and maybe turn this into a blog so others may know what you were attempting to do that led to this discovery or solution?


Thank you for helping me find this easily. The purpose of this post was to save a few people time on googling "how to detect form mode using javascript".