[Templates] problem with IF and ELSE statement
[prev]
[thread]
[next]
[Date index for 2005/05/17]
Hi List,
I just started experimenting with template toolkit and I like it.
But now I am trying to use it in a registration form, but for some
reason the form is always printed. I use the following construction:
[% IF form_ok %]
<h3>Registratie gelukt</h3>
[% ELSE %]
.... display the form
I am really sure the variable form_ok is set to a true value (1).=20
The whole source of the template:
http://wijnand.nedbsd.nl/templates/register
I am sure I am missing something obvious, but I just don't see what.
Regards,
Wijnand
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] problem with IF and ELSE statement
Wijnand Wiersma 19:46 on 17 May 2005
|