Hi Jovita,
Assuming your field with the checkboxes named "color", for the field corresponding to red, you can use the expression:
tokenize($color, '\s') = 'red'
And if you're on 4.3 or newer, you can use the simpler:
xxf:split($color) = 'red'
Alex
On Nov 18, 2013 10:44 PM, "akail" <
[hidden email]> wrote:
Hi,
I want to ask You how I can easier to write a visibility where I put many
selection (chekcboxes).
Form example : http://s11.postimg.org/iondtzgsj/example.png
If I select red for me show only "1.1Your favorite color is red like rose",
if I select black, then "1.3Your favorite color is black like dark", if
select red and blue, then show both 1.1 and 1.2.
For me working when I write like this:
$control-1="red" or $control-1="red blue" or $control-1="red black" or
$control-1="red blue black" or $control-1="blue red" or $control-1="black
red" or $control-1="red black blue" or $control-1="blue red black" or
$control-1="blue black red" or $control-1="black red blue" or
$control-1="black blue red"
But this writting is stupid.
--
View this message in context: http://discuss.orbeon.com/Visibility-tp4657665.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet