I am wondering why if I dont return anything in my dict and in my view

{{if form:}}
{{= form }}
{{pass}}

I get an exception.


S'Traceback (most recent call last):\n File "/apps/www/web2py.trunk/gluon/restricted.py", line 192, in restricted\n exec ccode in environment\n File "/apps/www/web2py.trunk/applications/sms/views/default/campaign.html", line 87, in <module>\nNameError: name \'form\' is not defined\n'


I want to be able to check if a key is there before I use it.

Thanks.

Reply via email to