Forums

How to check if values are selected in several lists

shemzone 15 Oct, 2015
Hello
I built 4 lists with the same values in each.
Liste 1:
[list]Value A
Value B
Value C
Value D[/list]

Liste 2:
[list]Value A
Value B
Value C
Value D[/list]

Liste 3:
[list]Value A
Value B
Value C
Value D[/list]

Liste 4:
[list]Value A
Value B
Value C
Value D[/list]

I would like to check if selected values are already selected in another list and, if it is, display a message error like "You have already selected value N in another list, please select another one"

Is it possible in CV5?

Thank you
shemzone 15 Oct, 2015
Hi Mr Robot then. :-)
Thank you, I'm going to check your automated answer and I'll try to adapt it to my need.
GreyHead 16 Oct, 2015
Hi Shemzone,

There is nothing built-in to ChronoForms to do this so it will require Custom JavaScript.

If you are writing custom script then I'd probably have it work by disabling any options that have already been selected. That's no more complicated to do and makes it easier for the user.

Alternatively you could perhaps do the same thing with custom HTML using four columns of radio buttons - that still requires some custom code but might make the choices clearer.

Bob
This topic is locked and no more replies can be posted.