"Burwell, Becky " wrote:
The simple answer: use REQUEST.form['FOO'] to refer to the
form variable.
I just did an experiment and if I do the following my SQL Method:
dtml-if REQUEST.form['FOO']
this is never true.
...because you're missing some " "
REQUEST.form['FOO'] is a python
Hi. I am new to using Zope and just got stuck on the following problem. I am trying to
use forms with an SQL database.
I have a form with checkboxes and I use variables like FOO to capture the value. For
example:
input type="checkbox" name="FOO" value="1"
The form has a post with the
1) the ZSQL manual,
http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.4.html, says
that the first lookup should be variables in HTTP_REQUEST. So why is FOO
referring to my folder FOO?
Its true it does and I found the exact problem. A chance to lob this bug
into the collector.
2) is
On Tue, 14 Nov 2000, "Burwell, Becky wrote:
Hi. I am new to using Zope and just got stuck on the following problem. I
am trying to use forms with an SQL database.
I have a form with checkboxes and I use variables like FOO to capture the
value. For example: input type="checkbox" name="FOO"
On Tue, 14 Nov 2000, "Burwell, Becky wrote:
This working UNTIL I created a Folder named FOO. Then the
value of FOO in
the Z SQL method seemed to be the FOO folder and not FOO
from REQUEST. My
workaround was to call the variable FOOCHECKBOX.
2) is there some way I could have referred to