-
- 77 Posts
Hi there!
Is it possible to get to know if a certain value of a TV (Checkbox) has been checked? For example, the TV is called "MyTV" and possible values are "One", "Two", "Three", "Four". So I want to know if "Two" is checked. The following only works (of course) if only "Two" is checked but not along possible other checked values:
[*MyTV:is=`Two`:then=`checked`:else=`not checked`*] //works with "Two" but not with "One" and "Two"
Need some help!
-
- 2,877 Posts
You can use and: and or: or set up multiple phx next to eachother.
But here is often where I ditch phx to use a snippet instead with
if statements.
-
- 77 Posts
Ok, thank you ... I’m using a snippet now.
-
- 2,877 Posts