Re: [Zope] Form Variables

2005-06-15 Thread J Cameron Cooper
David Ayres wrote: I've been working around this issue for literally years and finally have the time to seek a real solution. :) I can't find much information, so I'm assuming I'm just taking the wrong approach. Whenever a form is posted, the text fields always show up in the request.form,

Re: [Zope] Form Variables

2005-06-15 Thread Tino Wildenhain
Am Mittwoch, den 15.06.2005, 11:27 -0400 schrieb David Ayres: I've been working around this issue for literally years and finally have the time to seek a real solution. :) I can't find much information, so I'm assuming I'm just taking the wrong approach. Whenever a form is posted, the text

Re: [Zope] Form Variables

2005-06-15 Thread J Cameron Cooper
David Ayres wrote: Thanks for the information. I have been pulling my hair out because I have some lengthy forms (wizards) and it can be harrowing at times. :) I think the best solution for my situation is to do a JS/CSS tabbed solution, so it's one form. Are you aware of any limitations on the

Re: [Zope] Form Variables

2005-06-15 Thread Dieter Maurer
David Ayres wrote at 2005-6-15 11:27 -0400: Whenever a form is posted, the text fields always show up in the request.form, however any other type of form element that has not been given a value does not show up. None of the fields have the ignore_empty attribute. Besides using the missing=

Re: [Zope] Form variables with same name as folder names

2000-11-14 Thread Chris Withers
"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

[Zope] Form variables with same name as folder names

2000-11-13 Thread Burwell, Becky [EMAIL PROTECTED]
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

Re: [Zope] Form variables with same name as folder names

2000-11-13 Thread Andy McKay
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

Re: [Zope] Form variables with same name as folder names

2000-11-13 Thread Curtis Maloney
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"

RE: [Zope] Form variables with same name as folder names

2000-11-13 Thread Burwell, Becky [EMAIL PROTECTED]
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