Hi,
I'm try to do multi-conditional with openTBS.
I have a .docx file which contains tbs:rows blocks with my content. I want to display some of these blocks according to an integer variable.
Here, an example of my .docx file
---------------------------------------------
John Doe [onshow;block=tbs:row;when [myvar]=1;when [myvar]=2] // row 1
---------------------------------------------
Obiwan Kenobi [onshow;block=tbs:row;when [myvar]=3;when [myvar]=4] // row 2
---------------------------------------------
|
I would like to display the 1st row when my variable equals to 1 OR 2, otherwise, then second one.
After some tests, i can say that when the true condition is the first one, my block isn't displayed. When then second condition is true, i got it.
Does anyone has some ideas ?
PS : sorry for my english ;)