Categories > TinyButStrong general >

Condition Problem

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Charles Alden
Date: 2005-09-27
Time: 15:56

Condition Problem

This is not doing what it is supposed tp;

[onload;if [blk1.creaatedby] ='webti'; then 'IBCS'; else [blk1.creaatedby]]

I know the variable is returning 'webti' just fine but it just won't return IBCS it
goes straight to the else.

Thanks.
By: Skrol29
Date: 2005-09-27
Time: 16:18

Re: Condition Problem

Hello Charles,

This is normal because [onload] tags are automatically merged during the LoadTemplate() method.
At this time, block 'blk1' is not yet merged.

If you replace 'onload' with 'onshow', it should work better.