Hello,
I'm finding a strange bug in the VFE Visability statement below.
{OBSNOW("PRIMEMD#1") >= "10"}
For some reason the obsnow value of >=10 and >=11 do not work. When I replace that with any value from 1 to 9 it works fine, and 12 and up works fine. I'm using the statement to trigger a visability field with more directive options when a score is >= 10 but running into this. We used to use this same form with a value >=15 and it always worked fine.
Has anyone else seen something like this? Any ideas?
Thanks,
Anna
I think you're trying to use a mathematical operator on text, which will give you odd results.
>= is an operator used for numbers typically. Obs values are text.
try {val(OBSNOW(“PRIMEMD#1″)) >= 10}
That makes sense about the text vs numbers.
Tested this out {val(OBSNOW("PRIMEMD#1?)) >= 10} and the visibility stopped working for every score value.
Have you got a ? in there instead of a close quote?
{val(OBSNOW("PRIMEMD#1?)) >= 10}
Try
{val(OBSNOW("PRIMEMD#1")) >= 10}
It's working now. The copy/paste added the ? in the field.
Thanks for the help with this.