Required field ONLY in New Mode

  • 18 January 2018
  • 4 replies
  • 4 views

Badge +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

Userlevel 6
Badge +16

Try with ... isNullOrEmpty(Some:Control)

or

isNullOrEmpty({Self})

Badge +6

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

Badge +6

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.   

Badge +6

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

Reply