I have a visibility region that I want to trigger on anything other than "none". Can't for the life of me figure it out...
Thanks!
I just use the <>
DavidShower said:
I just use the <>
Someone correct me if I'm wrong, but using <> usually indicates if anything is selected, the visibility region will display. Not what I'm looking for...or am I misunderstanding your response?
obsnow("obsterm") <> "none"
That would show the visibility region contents as long as the value of the obsterm was not equal to the string "none"
For example, I have stacked visibility regions and the two rules for the two regions are
OBSNOW("CALL TYPE")<>"From Patient"
OBSNOW("CALL TYPE")=="From Patient"
DavidShower said:
obsnow("obsterm") <> "none"
That would show the visibility region contents as long as the value of the obsterm was not equal to the string "none"
For example, I have stacked visibility regions and the two rules for the two regions are
OBSNOW("CALL TYPE")<>"From Patient"
OBSNOW("CALL TYPE")=="From Patient"
Ahhhh, I gotcha! It does indeed work. I notice that if nothing at all is selected it still displays, how do I go about stopping that? I tried adding or document.variable = "" but that didn't work.
In that case, what you probably want is
document.variable <> "none" AND document.variable <> ""
The visibility region would only show if your variable was actually set and to a value other than "none"