A great resource for newbies is the collection of How-To's
http://www.zope.org/Documentation/How-To (or better yet:
http://www.zope.org/Members/AlexR/tips/howto_list where you can use browser
search to find what you need).
Search for "forms" and you will see, for example:
In short, the methods of Zope objects are all "CGI scripts". For the
"action" of a form, you supply the url of a form-handling method of some
Zope object you have created. When that method runs, form fields are stored
in the dictionary (hash, to you) that implements the namespace for the
request. You access them as simple DTML variables: e.g.
If you want to send the value of that form field on to another form, you do
it much the same as in Perl -- you code a hidden form field and assign it
the value <dtml-var form_field_name>.
-- Hope that helps
----- Original Message -----
From: "Amit Redij" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: August 28, 2000 04:45 AM
Subject: [Zope] Newbie question: FORM processing in Zope.
> I am a Perl/CGI programmer, trying out Zope.
> I am confused right now about
> HOW TO process FORM variables?
> and most important thing is
> how to validate form inputs.(like same thing is best done in PERL using
> that is, if I have a html having some form variables and a submit
> button. I click on the submit button. it should call some script..right?
> My question is how to pass values from one script to another. how is
> this done in Zope?
> thanks a lot in advance.
> |o_o |
> |\_/ |
> // \ \ Amit Redij
> (| | ) mailto:[EMAIL PROTECTED]
> /'\_ _/`\
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -