[ic] Problems with [if] tag

T. Stoffels tstoffels at gmail.com
Thu May 26 17:23:42 EDT 2005


Hi.
I am trying to compare two values and display some text/html if there's a match.

I can usually access/output these values by
--
[data session username]
[scratch myvariable]
--

But I must be doing something wrong with the if tag, since it won't
work no matter what I try.... It should look somewhat like this:
--
[if [data session username] == [scratch myvariable]]
Yes, its a match
[/if]
--
also tried
--
[if value data session username ==  value scratch myvariable]
Yes, its a match
[/if]
--
(I saw some examples using this "value" in fromt of the variable-names)

What am I doing wrong?

Once more thx in advance...



More information about the interchange-users mailing list