Skip to main content
Nintex Community Menu Bar
Solved

Making some multiple-choice options mutually exclusive

  • Dec 23, 2024 10:13 PM UTC
  • 3 replies
  • 166 views
  • Translate All

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 Simon Muntz

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.

View original

3 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Answer
  • Dec 24, 2024 2:28 AM UTC

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.

Translate

DavidAD
Forum|alt.badge.img+8
  • Author
  • Apprentice
  • Dec 24, 2024 1:50 PM UTC

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.

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Dec 26, 2024 6:17 AM UTC

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.

Translate