Skip to main content
Nintex Community Menu Bar
Solved

Making some multiple-choice options mutually exclusive

  • December 23, 2024
  • 3 replies
  • 72 views

DavidAD
Forum|alt.badge.img+8

I’m not sure yet if I have a need to do this, but I have started building a form where it MIGHT be needed - and in any case I can easily imagine wanting something like it sometime. I have a form that includes a multiple-choice field. The tricky part is that two of the five options in the field need to be mutually exclusive. In other words, if the user selects one of them, the other should no longer be an option. If one is yes, the other must be no. The other three options can be selected along with one of these two.

I can’t see a way to do this with a rule, but I can’t think of any other way to do it. Is it possible?

Best answer by SimonMuntz

Hi ​@DavidAD,

I tested some rules and it started to get complicated.
In the end, I think the easiest way to implement this functionality is to use a submit rule to check if both options are selected.
 


Apart from this, the next step would be to develop a form plugin with this functionality.

3 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Answer
  • December 24, 2024

Hi ​@DavidAD,

I tested some rules and it started to get complicated.
In the end, I think the easiest way to implement this functionality is to use a submit rule to check if both options are selected.
 


Apart from this, the next step would be to develop a form plugin with this functionality.


DavidAD
Forum|alt.badge.img+8
  • Author
  • Apprentice
  • December 24, 2024

Thanks, ​@SimonMuntz! I’ve just learned that I won’t need to use this in my form after all: the field will be a single-choice instead. But, as I said, I may come across a need for it in the future. Thank you for the suggestion to use the submit rule. I’ll do that if I have a need for it.


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • December 26, 2024

Hi ​@DavidAD ,
The only other option I can think of would be to create a form plugin that does this but you would need a new plugin for each scenario unless you were to develop the plugin to be very dynamic and reusable.