I tried this test form:
[form]
[text test1 1][text test2 2][text test3 3]
[session if "! equal {=test1} {=test2} && ! equal {=test1} {=test3} ?
warn=blahblah"]
[session warn]
[submit]
[form]
If I enter 1, 2, 3, I get the warning as expected. If I enter 1, 2, 1,
I do not get the warning, again, as expected. Could you specify the
problem you are seeing. Sounds like an interesting bug to ferret out,
if there is one.
Cheers
Dan
On Fri, Jan 15, 2010 at 2:54 AM, Danny <[email protected]> wrote:
> Command if is weird, for example:
>
> [session if_1 "! equal {=test1} {=test2} && ! equal {=test1}
> {=test3} ? warn_1=blahblah"]
>
> The first condition "! equal {=test1} {=test2} " is evaluated, but the
> second one always returns false.
>
> --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/boltwire?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.