[NINTEX Forms] Disable Save button if no choice selected in a Choice Control

  • 13 May 2016
  • 1 reply
  • 4 views

Badge +3

Hello,

I have a list on a page with a column "Loop" containing integer (number of time the items has been treated) and a column "Reason for loop" containing a choice list.

Loops is already filled and I want the user to edit the item via the form and to select a reason for the loop.

In the form, I want to disable the Save button if (Loop>0 and Reason for Loop have no choice selected).

I already do this disable with other fields and it works fine but not with the choice control. For the purpose of testing, I try to disable Save only if the user made no choice in Reason for Loop.

I added a rule on the Save button with:

IsEmptyOrNull(ReasonforLoop)

ReasonforLoop == ""

ReasonforLoop == "Please select a value..."

None are working. Does anybody have an idea to write the correct formula?

PS: I could use validation on reason for loop but disabeling the save button is a much more elegent solution in my opinion.

Ce message a été modifié par : Romain condat


1 reply

Badge +3

Hi and thanks for the idea.

So what I did is put on the Save control contains(ReasonforLoop, "elect") and disable.

My control Reason for Loop contain "Please select a value..." if no choice is selected, but if i put "select" in the rule, it does not work! Oddly enough, "elect", or "ele" works.

This is weird but now I can go on with such trick.

Reply