20 Jul
2000
20 Jul
'00
12:24 p.m.
Hi,
But if one of de if clauses evaluates true, I like it returns for example a sentences displaying an error. Try to use something like a flag:
<html> <head> <dtml-if expression1> <dtml-call "REQUEST.set('myFlag',1)"> ... do something ... </dtml-if> <dtml-if expression2> <dtml-call "REQUEST.set('myFlag',1)"> ... do some othe stuff ... </dtml-if> </head> <body> <dtml-if myFlag> Say something about expression1 or 2 ... <dtml-else> Say the other stuff ... </dtml-if> </body> </html> -- Robert Wohlfahrt (robert.wohlfahrt@sachsen-net.com) Tel: 0179 / 2980074 Fax: 0351 / 2880145