Skip to main content

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');}

@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".


Reply