Skip to main content
Nintex Community Menu Bar

Required field ONLY in New Mode

  • January 18, 2018
  • 4 replies
  • 13 views

Forum|alt.badge.img+6

I need some assistance in the rule for this one.  I have an Appending Description box that I only want required when in New Mode.

Setting the field itself as required, requires info to be input in New AND Edit mode. 

Assuming I need to create a rule on the field using the IsNewMode.  But can't quite figure it out.  Any help would be appreciated!

212279_pastedImage_1.png

4 replies

Forum|alt.badge.img+16
  • January 18, 2018

Try with ... isNullOrEmpty(Some:Control)

or

isNullOrEmpty({Self})


Forum|alt.badge.img+6
  • Author
  • Novice
  • January 18, 2018

That doesn't seem to do anything.  Should this be set as a Validation?


Forum|alt.badge.img+6
  • Author
  • Novice
  • January 18, 2018

I mispoke.  That does make the field required.  But it does so in New and Edit mode.

A simple solution would be to disable to field on Edit mode.  But I need the user to have the ability to add comments.  So that option is out.

New mode, I need the field required.

Edit mode, I need it available but not required.

I found a possible solution using a date field, but I am not an experienced developer that can translate this into what I need.   


Forum|alt.badge.img+6
  • Author
  • Novice
  • January 18, 2018

Got it!  Didn't realize I was suppose to tack on Fernando's answer to my existing thought.

Condition should be as follows: (Is New Mode) && isNullOrEmpty({Self})